Exiting out of a workflow

I’ve been searching for this topic with no results so I’m most likely using the wrong search string.

How do you force and exit from a work flow. I have an if statement that is looking at input coming in and I want to end execution if the input is invalid. Something similar to the END statement in VB, or the Stop command in studio.

Is anyone doing this? Thanks in advance.

Does Terminate Workflow activity work for your requirement?

Thanks, that does work. I was hoping there was something that didn’t through an exception, but just exiting the application.

You could use a flow chart and in the flow decision (Input valid = true), Write your logic in True sequence and workflow will automatically terminate.

Even I’m looking for the same.
I want to terminate a workflow without pop up messages

Flow decision throws error pop up. I wish to exit without pop ups.

Can you attach a workflow?

I call a sequence within an Try-catch (REFramework).
Terminate Workflow will throw an exception when exiting the sequence, and will not continue.

Is there a way to NOT throw an exception?

Btw, in the Terminate workflow option I left “Exception” as blank and only filled in “Reason”.

2 Likes

I’ve the same issue , did you find a solution please @james.holthaus ?
i want to terminate my workflow without any popup exception