How can I Auto Restart a job in the workflow if it exceeds certain time limit. Any thoughts on this.
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.
Do we have restart option to select if a job exceeds its MRT?
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.
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?
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
Why don't you try it?
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.
Retrieving data ...