Say I have a workflow that looks like this:
In this workflow, I am parsing through emails, getting a specific ID, then send this information over to the invoked workflow “ControlMForceOK”
In this invoked workflow, my automation would continue. However, my problem is how I should be dealing with exceptions.
For example, in my automation I search for something in my application, but if this cannot be found, I want to catch this exception, stop the process, and revert back to the loop from the first screenshot in the same position that it was left in as if the automation did the full process.
How can I do this? I am looking for logic like a “Continue” statement, only the Continue activity won’t actually work here because it is not in a for loop. In this screenshot you can see I tried invoking the “Main” workflow which is the workflow that contains that loop from the first screenshot. This will not work and actually results in an infinite loop.
My other idea is to just shove everything in my ControlM workflow within the first loop, but I really would like to not do that.