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.

Turn on/off containers with chained workflows

Wmartin
5 - Atom

 

Hi all!


Is it possible to turn off containers using chained workflows, for example in workflow_01 I check a checkbox and that checkbox allows me to turn on or off a container in workflow_02.

3 REPLIES 3
BlueFalcon42
6 - Meteoroid

Hi, you can turn on/off the container by this toggle if that is what you're asking. Otherwise, if you want to run 1 container at a time, you can explore 'Block Until Done' tool.

Screenshot 2024-07-24 124841.png

KGT
11 - Bolide

To do this in Chained Workflows, you would need to output a value from the first workflow and pick that up in the second workflow, then use that value to somehow turn off the container. I'm not well versed with control containers and whether they make that easier, but without them, I would just say "Don't". Passing variables between chained workflows is the process of outputting and then inputting.

 

It's my understanding that Control Containers can allow you to do this in the one workflow, rather than needing chained workflows.

Maithreyan
6 - Meteoroid

Hi Wmartin,

 

There are a couple of ways to solve it.

 

1.  To generate workflow_02.yxzp as output - workflow_02.yxzp can be generated each time when workflow_01.yxzp is triggered with a checkbox - which would control the containers On/Off state on the XML level - refer to https://knowledge.alteryx.com/index/s/article/Chained-Alteryx-Analytic-Applications-1583459130897 ( Step 3- Step 4) 

 

2. To directly use the checkbox on the workflow_02 - so that when workflow_01 is triggered which once completed without error would open up the UI of the workflow_02 where users can control the container using the same checkbox.

 

Mark as solution if this helped you solve it.

 

Regards,

Maithreyan S

Labels