Start Free Trial

Alteryx Designer Desktop Discussions

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

Stop workflow execution if all parameters are blank

Avi6999
7 - Meteor

Hi all,
I have an analytic app with 4 parameters. I want to enforce a rule where at least one of the parameters must be entered before the workflow runs.
I have tried with the below approach (attached screenshot); the formula consists of If statement - parameters empty then FALSE else TRUE.  The TRUE anchor will continue with the workflow the FALSE anchor is connected to message tool.

Unfortunately, this approach is not working. Please suggest any ideas or best practices for handling this scenario.

Thanks,

-Avi

Avi6999_0-1754608397377.png

 

2 REPLIES 2
alexnajm
18 - Pollux
18 - Pollux

Can you put the message tool on the line right after the Text Input and use the "Error" option (or "Error - Stop Passing Records through this Tool") along with "Cancel Running Workflow on Error" in your Runtime settings?

dreldrel
9 - Comet

You can also use the test tool to achieve the same result. If this helps, feel free to like the comment
https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Stopping-workflow-using-Test-T...

Labels
Top Solution Authors