community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Detour Based on Condition

Highlighted
Fireball

Hi,

 

I have an input file with ID and other fields in Analytical App workflow.

When at least one ID exists, I would like to go through "ID exists" container.  When all ID is empty, I would like to go through "ID empty" container. 

Detour Based on Condition.png

Would it be possible to bypass a process based on condition?

 

I attached a very simple sample workflow.

 

Thank you,

knozawa

 

 

Alteryx Certified Partner

You will not be able to update the Detour tool from values within the datastream. This is possible to do with chained application, but that is an unnecessary complication.

 

I recommend using the datastream to determine the subsequent action for all records, then appending that binary value to all records and using a filter tool. A Select tool can remove that field downstream and the results from both sides can be recombined with a Union tool.

 

I have attached an example solution. 

Fireball

Thank you, @CharlieS!

Labels