Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Best way to halt a run if conditions are not met

datadabbler
7 - Meteor

Is there a way/best way to halt a flow run if a condition is met/unmet? I currently have some checks which I add a count records then a message step to create a warning in the results pane, but I would like the flow to stop/fail based on a condition? Is this possible?

1 REPLY 1
DataNath
17 - Castor

Hey @datadabbler, if the condition you want to stop the run on is related to the messages/warnings you already produce then you could change the message type to an Error:

 

DataNath_0-1677665002241.png

 

Then in your Runtime settings, select to Cancel Running Workflow on Error:

 

DataNath_1-1677665059185.png

Labels