Automic Workload Automation

 View Only
  • 1.  Successor Run

    Posted Jul 09, 2020 02:20 PM
    Hi Everyone,

    We do have a scenario 


    As Per above Screen Shot we do have a requirement where

    1)If my Job 2 gets failed then my Job 3,Job 4 and Job 5 needs to Skip automatically.
    2)If my Job 2 gets Ended ok Normally then it needs to Execute Job 3 and if Job 3 is End ok then Job 4 needs to execute

    Can we know is there any option to handle Such type of Scenario ?





  • 2.  RE: Successor Run

    Posted Jul 09, 2020 03:17 PM
    Edited by Kyle Harlow Jul 09, 2020 03:18 PM
    If you select a task in the workflow, and then click on the Properties button (upper-right corner underneath where it says your system name and client#), a pane will open on the bottom. If you click on the Time and Dependencies tab, there is a spreadsheet that will have any tasks that precede it. Here, you can basically say "Execute this task if this job succeeds. Else, skip it."

    Edit: See here for more information:
    https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#AWA/Workflows/wf_PropertiesPane_TimeDepsTab.htm




  • 3.  RE: Successor Run

    Posted Jul 09, 2020 03:25 PM
    Thanks Harlow for your response.

    But, if i do it in this way then only one thing will Satisfy where if my Job 2 is Ended ok then run Job 3 if not Else condition as Skip.But if i do it then Job 4 will be Skipped out if i check Job 3 as Ended ok if not Else condition as Skip.

    It will not satisfy my requirement.

    Can i know how it can be taken care ?


  • 4.  RE: Successor Run

    Posted Jul 09, 2020 03:28 PM
    Mainly if i keep as Else condition as Skip then if my Job 3 is Failed also then my Job 4 will Skip which will cause an issue


  • 5.  RE: Successor Run

    Posted Jul 10, 2020 01:13 AM

    Hello Pavan, The second scenario os NOT clear to me. If you can clarify I can try this out. 

    Scenario 1 : If task 2 is FAILED => Rest task should skip. => This part is clear to me. 
    Scenario 2 : If task 2 is ENDED_OK => task 3 executed & FAILED => What do you want to do with task 4 / 5 then ? 



    ------------------------------
    Regards,
    Prosenjit
    ------------------------------



  • 6.  RE: Successor Run

    Posted Jul 10, 2020 08:32 AM
    Hi Prosenjit,

    Below is my actual requirement.

    1)If my Job 2 gets failed then my Job 3,Job 4 and Job 5 needs to Skip automatically.
    2)If my Job 2 gets Ended ok Normally then it needs to Execute Job 3 and if Job 3 is End ok then Job 4 needs to execute


  • 7.  RE: Successor Run
    Best Answer

    Posted Jul 10, 2020 09:32 AM
    Hi Pavan

    Right click on the job , click on task properties and in the dependencies tab u can define the conditions of the predecessor and successor jobs