Automic Workload Automation

 View Only

 Execute Object on Maximum Runtime exceeded

Jump to Best Answer
Chris Taubenheim's profile image
Chris Taubenheim posted Jun 23, 2022 07:44 AM

Hi All,
here's what I want to do.
Every job in my workflow has the option set, that a UC4 Object will be executed if it's runtime exceeds a specific value.


So far, so good, this is working.
But I do not want to insert a different executable object to each job. So my idea is to have only one executable object (e.g. the mail sender) for all jobs in my workflow.
And there is the problem I have: Am I able to detect who (which job) executed the mail sender, so I can create a specific text that shows which job exceeded it's normal runtime? I haven't found a way to do so yet.

Maybe someone has a suggestion to solve this problem.

Many thanks in advance for any help.
Best regards.

Peter Grundler's profile image
Broadcom Partner Peter Grundler Best Answer
Hi Chris,

sure you can add the parent objects information into the text. Just have a look at the template CALL object "ALERT" and check the content of the process tab. There you'll find a lot of parameters retrieved from a parent task.

regards,
Peter
Chris Taubenheim's profile image
Chris Taubenheim
Dear @Peter Grundler many thanks again for sharing your knowledge. This worked like a charm.
Best regards,
-chris-