Hi, I have a longer process that needs to start from the beginning if an error occurs. The thing is that it can run fine the second time without any changes as some involved applications have a strange loading behaviour. I know restarting is not the best option but it is currently a quick fix until I fully understand the problems.
Expected behavior: Process starts → Error (-> Optional: Close files) → Process restarts
I already have the process itself in a flowgraph and I would like to have a simple solution to restart on error. Changing everything into the framework is not really an option.
Thanks a lot for advice
Make different try catch where it can crash and create a variable (hasError boolean). At the end try to restart your process if there is an error with condition activity.