Automic Workload Automation

Expand all | Collapse all

conditional workflow paths based on job status

Jump to Best Answer
  • 1.  conditional workflow paths based on job status

    Posted 01-27-2015 07:18 PM
    I'd like to build a workflow where one path is followed if the critical job is Ended OK, and the other path is followed if Ended Not OK. Similar to an IF workflow, but based on job status (which is not one of the options for the IF).

    I'm able to do this by just using the dependency settings and setting it to Skip instead of Block if the status is not met. But my problem comes when I try to have multiple jobs in the path, because then I'm unable to block the workflow if one of the jobs fails.

    Any suggestions?


  • 2.  conditional workflow paths based on job status
    Best Answer

    Posted 01-27-2015 07:45 PM
    Assuming that I understand, we usually approach this by making two sub-process flows.  These two flows are successors to the critical job with one checking its Status of Ended OK Else Skip and the other Ended Not OK Else Skip.  The sub-process flows each contain all of the needed tasks and their dependencies and associated blocking.

    We are still under V8 and this addresses this requirement.