Automic Workload Automation

  • 1.  How to Auto Restart the job if it exceeds certain time limit

    Posted May 30, 2018 11:59 AM

    Hello All,

     

    How can I Auto Restart a job in the workflow if it exceeds certain time limit. Any thoughts on this.

     

    Regards,

    Srujan.



  • 2.  Re: How to Auto Restart the job if it exceeds certain time limit

    Posted May 30, 2018 01:16 PM

    In the "Runtime" area of the job, you can set a Maximum runtime (MRT) rule to cause actions to take place when that maximum time limit has been exceeded.   I suspect you can accomplish the desired behaviors with this feature.



  • 3.  Re: How to Auto Restart the job if it exceeds certain time limit

    Posted May 30, 2018 01:20 PM

    Do we have restart option to select if a job exceeds its MRT?

     

    -Srujan



  • 4.  Re: How to Auto Restart the job if it exceeds certain time limit

    Posted May 30, 2018 04:33 PM

    Yes, you do have a restart option available to you when a job exceeds its MRT, but you have to engineer that behavior.  This is accomplished by asking it to run another object when the MRT is exceeded.     If it won't let your job execute itself (for fear of infinite loop) then you may need to set up a new script object that runs an ACTIVATE_UC_OBJECT() function to launch the desired object.



  • 5.  Re: How to Auto Restart the job if it exceeds certain time limit

    Posted May 30, 2018 01:26 PM

    Can we use "TIME since Activation" condition in Post-conditions tab of the job to check with current time of the system and then select restart if the condition is true?

     

    Regards,

    Srujan.



  • 6.  Re: How to Auto Restart the job if it exceeds certain time limit

    Posted Jun 19, 2018 02:02 PM

    Yes you can use the time since activation parameter in the post condition

     

     

    As you can see both flag are set ... Pre condition and Post Condition

    Thomas



  • 7.  Re: How to Auto Restart the job if it exceeds certain time limit

    Posted May 30, 2018 03:21 PM

    Hi

     

    Why don't you try it?

     

    cheers, Wolfgang



  • 8.  Re: How to Auto Restart the job if it exceeds certain time limit

    Broadcom Employee
    Posted Jun 01, 2018 02:07 AM

    Hi, 

    you might also want to try to use an SLO object for that. It can measure the runtime of objects and perform actions, if the runtime exceeds certain values.

     

    Best regards,

    Robert