12-15-2020 06:21 AM
How can abort the current sequence without cleanup and jump back to the main sequence?
I've a statement in the Setup section of my sequences. I've tried some expressions, but either the whole exection is cancelled (e.g. with RunState.Execution.Abort() or Terminate()) or it jumps to the CleanUp section.
Solved! Go to Solution.
12-16-2020 02:06 AM
Edit:
The unwanted workaround would be to create a label at the end of the sequence and jump to it. But that is time-consuming with many sequences. A programmatic solution would be better.
Somehow a simple return from the sequence back into the main sequence should be possible.
12-18-2020 05:56 AM
Nobody an idea? Is there not possibility to implement a simple return without cleanup?
12-20-2020 01:36 PM
.
12-22-2020 10:53 AM
The steps in Cleanup run always despite sequence execution was terminated or not. However I remember a way of configuring it from station settings to skip cleanup upon abort. I'm curious why you want to have such option in subsequences?