In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

stop workflow when test fails?

Matthew
11 - Bolide

hello, can someone tell me how i can stop a workflow when a condition is met? No matter what i try, the workflow continues running whether the test passes or fails.. 

 

NothingButThyme_0-1632765199437.png

 

3 REPLIES 3
Luke_C
17 - Castor
17 - Castor

Hi @Matthew 

 

The message tool with the configuration of 'Error - and stop passing records through this tool' might give you what you want:

Message Tool | Alteryx Help

 

Luke_C_0-1632766382540.png

 

Matthew
11 - Bolide

that sounds like exactly what i want, but it doesn't seem to work.. the error message triggered, but the workflow is still passing through

 

NothingButThyme_1-1632766722046.png

 

 

NothingButThyme_0-1632766693706.png

 

Matthew
11 - Bolide

I found a workaround.. i would have preferred it if the message tool worked, but instead just filtered all rows where the expression was true.. That left me with zero rows, which effectively cancels out the rest of the workflow... though this workflow finishes with an output to tableau.. i hope it doesnt output a table with zero rows this way... 

Labels
Top Solution Authors