Trouble with disabling/enabling containers based on condition
- 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
Hello! I have been stuck on this part of my workflow for a little bit now and not sure what else to try. What I'm trying to do is based on the user selection in the drop down (i.e., Test1, Test2) only one container should be ran. If the user selects Test2, the container for Test1 should be disabled so that only the Test2 containers data stream is processed. I've attached screenshots of what the Expression within the Condition Tool looks like, as well as a few others. I believe there is an error within the condition tool. Can't seem to figure it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
In my version of Alteryx, the "Enable or Disable container" setting doesn't have a drop down to choose Enable/Disable like you do.... instead I have the following wording::
To me, this is worthless because when a check box is SELECTED.. it will DISABLE your container. Which is almost never the way I would want it. They must have fixed that and put that dropdown option in a newer version.
I would use a formula instead of the Enable/Disable, and pick the Disabled setting. Now.. .you still have to think kind of backwards, because the setting is called "DISABLED"... so if that value is FALSE, then your container is ACTIVE. so with the formula, check the value of whatever your radio button or check box etc is, and use a simple IF formula to control the container's DISABLED property
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@mbudcst ,
Attached is a workflow.
Instead of using the conditional, I just used a formula to update if it should be enabled or disabled. Please let me know if you have any questions.
If you found this solution helpful, please mark as a solution so other users can benefit!
Thanks,
carli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I need help for disabling container based on condition.
I've three tool containers in workflow, these three container takes 3 different input files. But all the times these 3 input files are not there so, in this scenario i wanted to figure out how can container can be disables basis on condition if that file is not available.
