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.
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.
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.
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