Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Detour Based on Condition

knozawa
11 - Bolide

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

 

 

2 REPLIES 2
CharlieS
17 - Castor
17 - Castor

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. 

knozawa
11 - Bolide

Thank you, @CharlieS!

Labels
Top Solution Authors