Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Stop A Tool with Conditions

zqlcancer
8 - Asteroid

I would like to stop reading data from a file if certain conditions are met. For example, when file creation date is older than today, I don't want 'Dynamic Input' to read the input files.

 

Currently I add a filter tool before the 'Dynamic Input', when the filter tool return true value, the input data will be read by 'Dynamic Input' tool in the next step. However when the filter tool returns false value, no data are read  by 'Dynamic Input' tool in the next step but system returns an error saying file is not found and stop the workflow. This is against my request as I only need to stop the 'Dynamic Input' tool instead of the whole workflow.

 

To avoid this, I am thinking setup the default file without any data in 'Dynamic Input'  tool. But are there another way to do this? What I actually want is to stop the 'Dynamic Input' tool if the filter tool returns false value. Thanks.

 

 

image.png

1 REPLY 1
Nuno_Meneses
7 - Meteor

For the particular usecase of Dynamic Input you can try this Batch Macro.

 

Let me know if it worked 😀

Labels
Top Solution Authors