Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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