use condition interface> enable/Disable tool container
- 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 Team
I am trying to use a condition interface to be able to enable and disable the tool container in the workflow when i publish the workflow up to gallery.
but i doesnt seems working for what i currently built. so can you help me validate the logic?
Thanks
Chunbin
Solved! Go to Solution.
- Labels:
- Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If you are using a check box it will return either TRUE or FALSE, you are testing for the condition 'Weekly' which is always going to return False, and therefor enable the right tool container.
Ben
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Ben
Within the tools what formula do i need to put in?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I would recommend removing the Condition tool and connecting the Check box to each Action tool that update the containers.
In the image, you have the Condition configured to determine if the Action take places for not The problem that this has is that it is subject to change the results based on how the workflow was saved. For example, you have the wizard open in designer to do some testing and have one of the containers open and one closed. Depending on how that was left and what the input is, the containers could potentially both be enabled or disabled.
I have attached an example that will always work no matter how the containers were configured when the wizard was last saved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I am using a old version of alteryx. cant open the package you have attached. can you turn it be a app?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You would face the same issue, and it is an app.
If you wish to downgrade the file you can do so following the instructions here: https://www.theinformationlab.co.uk/2018/07/12/downgrading-alteryx-workflows/
It's a really useful tip to learn!
Ben