Alteryx Designer Desktop Discussions

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

Need to check if we can activate container based on criteria.

Sameer_Kanade8810
7 - Meteor

Hi All,
I have a workflow which has 3 containers and i need to put certain criteria only when container passes the check the 2nd container should get activated and start the workflow.

2 REPLIES 2
Pilsner
11 - Bolide

Hello @Sameer_Kanade8810 

There are multiple ways to activate containers based on a set of criteria. The two methods I use most involve control containers or macros.

Control containers - Build in the logic which determines if the criteria have been met. Feed this value into a filter tool such that the filter will only have records coming out of the true anchor if you want the container to be activated. The true anchor should be connected to the start of the control container. Below is an example where I want the container to be activated if and only if the record count is equal to 3.

Screenshot 2025-03-25 111918.png



Macro - Create a batch macro with your container inside. Attach the control parameter to the top of the container and update with a formula. You will want to use an If statement here, such that, if you want the container to be activated (not disabled) then "False" Else "True". Below is an example, that checks the record count is three.

Screenshot 2025-03-25 112202.png


I have attached a copy of the workflow I used as an example below. Please let me know how you get on.

Regards - Pilsner

BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

@Pilsner Great explanation 👏

All the best,
BS

LinkedIN

Bulien
Labels
Top Solution Authors