I'm using ONE Automation 2015 - Automation Engine 11.
I have a workflow with tasks set to have their predecessors show ANY_OK or else block the workflow. The tasks are JOBS objects that have an output filter looking for certain error messages, and if found, executing the same object.
The goal was in certain cases, I just want these tasks to rerun themselves and not keep the workflow blocked all night until someone comes in the next morning. What's happening though is that if the task fails and it shows the error message I'm looking for, it will rerun itself successfully, but the workflow stays blocked. I'm assuming this is because the new instance of that object doesn't have the workflow as the parent since it's being executed from the Output Scan tab on the job.
Is there a better way to accomplish what I'm trying to accomplish? Is there a way in the workflow to scan a tasks output and rerun for certain conditions the same way I can do using the Output Scan and a filter on the JOBS object?
We do something like this. The Output filter sets the return code based on a condition that it finds in the report. In our case it is 51. Then on the task properties -> post condition in the workflow we have the following:
I think that is the ticket. Thank you very much!
How do you increment the restart count variable, if you don't mind my asking?
Anything that starts with &$ is a system/object variable that is automatically kept in every object. If you're in the process tab of an object click CTRL + L and it will give you a list of all variables that are kept during every execution.
The drop down has object specific or uc4 system specific variables.
Ok, thanks again for your help!
Yep, no problem at all
1942 = ENDED_TIMEOUT - Ended untimelyApparently ENDED_TIMEOUT is not a restartable state.Alternative to consider:If your EVNT task is only watching for the arrival of a file, try doing it with a Precondition/CheckFile process instead.
1942 = ENDED_TIMEOUT - Ended untimelyApparently ENDED_TIMEOUT is not a restartable state. Alternative to consider:If your EVNT task is only watching for the arrival of a file, try doing it with a Precondition/CheckFile process instead.