Exiting out of a workflow


#1

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.


#2

Does Terminate Workflow activity work for your requirement?


#3

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


#4

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.


#5

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


#6

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


#7

Can you attach a workflow?


#8

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”.