Automic Workload Automation

 View Only
  • 1.  Activate and Run a workflow ON Success of another workflow

    Posted May 18, 2022 12:25 PM
    I want to start Workflow B up on completion of Workflow A irrespective of Day/Time it completed.
    We don't own Workflow A and cannot modify anything in Workflow A but can do required configurations in Workflow B.

    Job Id has to be Unique for each run of Workflow B so cannot keep it Active forever (otherwise I think it will have same Job ID) and also I did include external dependency on Workflow A. However, not sure how to activate the workflow B based on workflow A, Is scheduling it everyday is only option? If so, How to make it run immediately after Workflow A multiple times in a day (scheduling will run only once in a day and I have to run Workflow B as and when Workflow B completes).

    How do I activate and run workflow B as many times as Workflow A is ENDED_OK.

    Below are screenshots of external dependency, JOBP and JSCH settings. Any help is much appreciated.




    ------------------------------
    Kris
    ------------------------------


  • 2.  RE: Activate and Run a workflow ON Success of another workflow

    Posted May 19, 2022 07:27 AM
    You could execute workflow B recurring with a frequency of after the previous execution ends plus 1 minute.  That way it will sit in the activity queue until the external dependency is satisfied and once workflow B is complete, it will trigger in again 1 minute after it completed to wait for the next run of workflow A.




  • 3.  RE: Activate and Run a workflow ON Success of another workflow

    Posted May 19, 2022 09:00 PM
    Hello Jared,  Solution is promising, Where can I find this configuration. I use V12 version and couldn't find exact options in JSCH or JOBP, especially the Frequency. I only see the below option:




  • 4.  RE: Activate and Run a workflow ON Success of another workflow

    Posted May 20, 2022 07:22 AM
    When you have workflow B set up with your external dependency, Execute it by clicking on the Execute Recurring.  It will then pop up the window with the those options and several others.


  • 5.  RE: Activate and Run a workflow ON Success of another workflow

    Posted May 19, 2022 09:23 AM
    This might be oversimplifying you needs but could you put workflow B as the last task inside of workflow A?


  • 6.  RE: Activate and Run a workflow ON Success of another workflow

    Posted May 19, 2022 09:02 PM
    Wish I could do that unfortunately I am not the owner of Workflow A and cannot make any changes to it.