Automic Workload Automation

script to ignore preconditions defined

  • 1.  script to ignore preconditions defined

    Posted Apr 24, 2019 05:30 PM

    I need help trying to develop a script which would allow a job to ignore any pre-conditions on it.

       I have a script below which will drop the dependency on the job, but not the pre-condition defined on the object.  I need both to be dropped.

     

    :READ &UC_CAUSE_NR,,
    :READ &UC_CAUSE_NAME,,
    :SET &WFID# = GET_STATISTIC_DETAIL(&UC_CAUSE_NR,PARENT_PRC)
    : P WFID# &WFID#
    :SET &RET# = MODIFY_UC_OBJECT(&WFID#, REMOVE_DEPENDENCY, &UC_CAUSE_NAME)
     : P RET &RET#