AutoSys Workload Automation

Expand all | Collapse all

Complete Application if one of the jobs fail

  • 1.  Complete Application if one of the jobs fail

    Posted Dec 04, 2017 02:37 PM

    My application has multiple jobs and I want complete the application if one of the jobs fail.  Is there a way to do this?



  • 2.  Re: Complete Application if one of the jobs fail
    Best Answer

    Broadcom Employee
    Posted Dec 04, 2017 04:14 PM

    Hi,

     

    You can create and define an alert,  and configure it on each job of the application, to be executed if the job fails.

     

    The alert should execute the following command:

    execCommand('all','%(APPL._name).%APPL._gen','ACTION COMPLETE');

     

    You can use the following example as a reference:

     

    Completing an Application when a file is not received by its cutoff time - CA Workload Automation DE - 12.0 - CA Technol… 

     

    Hope it helps!

     

    Regards,

    Leandro



  • 3.  Re: Complete Application if one of the jobs fail

    Posted Dec 06, 2017 01:00 PM

    Thank you. This was helpful.