Automic Workload Automation

  • 1.  Set dependency on previous day run status of another job

    Posted Aug 09, 2017 02:33 AM
    Hi All,

    I need a solution on below requirement.

    I have two workflows.

    Workflow-A : Daily runs at 8PM.
    Workflow-B : Daily runs at 5PM
    Dependency : Workflow-A should run if previous day Workflow-B got succeeded(Ended-OK).

    As stated above how to set dependency on previous day run status of another job.

    Appreciate you quick responses and suggestions.


  • 2.  Set dependency on previous day run status of another job



  • 3.  Set dependency on previous day run status of another job

    Posted Aug 09, 2017 12:39 PM
    Plan C: Use a static variable to keep track of the state of Workflow-B.  Each time that Workflow-B completes successfully, its last task should insert a row into the variable with the date that it completed.  Workflow-A would then be dependent upon finding this row in the variable, and if Workflow-A runs successfully, its last task should delete the appropriate row from this variable.

    A good thing about this plan is that if things got out of sync, someone could manually manipulate the contents of this variable to put things back in sync.