Break out of workflow

Sometimes I want to break out of a workflow without throwing an exception, similar to endit: in VBA. Is there any chance of an activity to do this please?

I am not sure if the following case works or not. But give it a try.

Use try/catch block.
In try block, use rethrow activity.
In catch block, ignore the exception. Catch block should be the last activity in a workflow.

Regards,
Karthik Byggari

Would make sense for sequences Workflow, yeah.

Hello, there is a new activity added on 8 2023 for exiting the current workflow and continue the execution of the rest process. the activity name is return

1 Like