I have a workflow that errors out usually due to external issue with the far side (or some other causes). The job will run correctly on retry or after some retries.
I’ve tried a few strategies for restarting but haven’t found the one that works quite the way I need it to. Originally I used If statements to check necessary elements and invoke the workflow file again if condition not met. This worked except once the invoke was down downstream portions in Main would be skipped and workflow exits. That meant necessary end of job data validations were missed etc.
I now have a flow, pass arguments out of the workflow files and if condition is false send back to beginning. This works well except I don’t have a good way to break out of workflow file and have the job continue with the flow. I tried terminate workflow which I hoped would only apply to the workflow file and not main (but appears to apply main which doesn’t help)