Automic Workload Automation

Expand all | Collapse all

Workflow Dependency Tab - start at time if previous job status not reached yet

  • 1.  Workflow Dependency Tab - start at time if previous job status not reached yet

    Posted 09-25-2017 07:23 PM
    In the Workflow Task properties Dependency Tab, does it ignore the “Status” dependencies if you set an “At the latest” start time? The documentation isn’t clear how both of these together is handled.

    Is it possible to start a job in a workflow, if a certain time is reached independent of the status of the previous jobs. But still be released by the dependency if it's satisfied before the time.


  • 2.  Workflow Dependency Tab - start at time if previous job status not reached yet

    Posted 09-26-2017 02:04 AM
    The 'At the latest' dependency won't force the task to start at this time regardless of the preceding task status. This gives you the option to skip, block or abort the process and execute another process only.

    My best thought on how to achieve this is to
    1) create a dummy task in parallel as a preceding step in the workflow and probably linked to the 'Start'.
    2) Set the dummy task with an earliest start time of your latest time to execute.
    3) In the properties of the task you need to run set the dependencies tab to "At least one status matches' so your dummy task can meet the start criteria if required.


  • 3.  Workflow Dependency Tab - start at time if previous job status not reached yet

    Posted 09-26-2017 02:06 AM
    What about a precondition - check current time?

    If this task should run independent from the other's state it should be connected to the start object - as a second line next to the actual workflow tasks.


  • 4.  Workflow Dependency Tab - start at time if previous job status not reached yet

    Posted 09-26-2017 02:16 AM
    FrankMuffke   That's what I first thought but it will always wait until the defined time to execute and not start earlier if the pre-task has already completed.


  • 5.  Workflow Dependency Tab - start at time if previous job status not reached yet

    Posted 09-26-2017 02:54 AM
    Mike_Halliday_7686 Good Point, thanks!

    I found another possibility - an EVNT.TIME in parallel with (same setting as Mike) At least one state must match:

    u5zs6zoe4un5.jpghttps://us.v-cdn.net/5019921/uploads/editor/2c/u5zs6zoe4un5.jpg" width="730">
    eg5qfotlh2ot.jpg

    So no matter if the WIN job or the EVNT object ended earlier the second WIN job will run.


  • 6.  Workflow Dependency Tab - start at time if previous job status not reached yet

    Posted 10-06-2017 02:54 PM
    Thanks.