Activate Container Conditionally
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi All,
I have a workflow (attached) where I need to conditionally activate/deactivate a tool container based on a condition. In the workflow attached, I have 3 datasets – “Product”, “Supplier”, and “Stock”.
The condition will be manually setup via a Text Input. I know this can be done by using Analytic App and/or Macros but I’m avoiding to use them for specific reasons.
In order to activate the dataset(s) that I need to process, I’ll have to edit this Text Input tool and supply “1” in the active column
I have a process prepared for me to determine which container(s)/dataset(s) I’d like to activate:
My problem is, how will I activate/deactivate a container based on the values?
From the screenshot above, the field ActivateProduct =1 so the “Product” container should be active; the field ActivateStock=0 so the “Stock” container should be deactivated; and the ActiveSupplier= 1 so the “Supplier” container should active.
All the containers will be deactivated to begin with because the real input files are just too huge, and I’m avoiding them to be processed all at the same time because it will cause the workflow to become really slow.
Is this possible by not using Analytic App/Interface Tools/Macros?
PS: I'm posting this on a late Friday evening, so apologies in advance if I can't respond immediately. Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Instead of using a regular Container, check out the Control Container tool under the Developer category. It's built to control the order of the flow.
See this help article: https://help.alteryx.com/current/en/designer/tools/developer/control-container-tool.html#control-con...
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @ChrisTX . I'll check this. Yeah I think this is what I'm looking for. Thanks!
