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

Alteryx Designer Desktop Discussions

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

Conditional output

BosKev
8 - Asteroid

Hi,

 

I have created a workflow with 2 outputs. 1 of the output act as a check which shows me if there are anything I need to update. 2nd output is the final output.

 

my question is as follows; is there a way to set a condition to check if the 1st output has data and if it does then stop if not then generate the 2nd output?

 

I attached a simple example. I want the workflow to kick out just 1 output if any of the market Tag is null and don't run the 2nd output.

 

Thanks

-Kev

4 REPLIES 4
Ladarthure
14 - Magnetar
14 - Magnetar

Hi,

 

You could use a block until done  and then use a test tool on your first branch. If you want the workflow to stop you could use the workflow configuration tool and tick "Cancel Running Workflow on Error"

 

It should do the job!

Ladarthure
14 - Magnetar
14 - Magnetar

@BosKev I did a sample workflow attached 🙂 hope it helped! 

BosKev
8 - Asteroid

works great! Thank you.

amitkrg83
5 - Atom

How to make it work if the input has no records just header

Labels
Top Solution Authors