Automic Workload Automation

 View Only
  • 1.  How to skip /cancel a file event based on variable

    Posted May 25, 2017 02:04 PM
    Hello,

    Sometimes, in order to make a batch more flexible we'll design our jobs to check a variable object to see if they should run as normal or exit and complete clean. This gives us the ability, foe example, to turn of file transmissions to outside clients when testing batch.

    I want to do this sort of thing for incoming files as well- effectively skip or cancel the file events/jobs associated with a particular feed by simply changing a variable object.

    When I try to do this with file events however, it doesn't work. It can read the variables just fine, but when use the ":exit 0" command UC4 says I did an exit, but the object keeps running. 

    How would you guys go about handling this sort of thing?


  • 2.  How to skip /cancel a file event based on variable

    Posted May 25, 2017 02:48 PM
    how does you code basically look like?
    in which tab do you perform this exit?
    how is it called?


  • 3.  How to skip /cancel a file event based on variable

    Posted May 25, 2017 05:26 PM
    If you check the variable object in a workflow task precondition rule, it can cause the step to be skipped before it ever gets a chance to start running.