community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
#SANTALYTICS

The highly anticipated Alteryx Community tradition is back! We hope you'll join us!

Learn More
SOLVED

use condition interface> enable/Disable tool container

Highlighted
Asteroid

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

Alteryx Certified Partner
Alteryx Certified Partner

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

Asteroid

Hi Ben

 

Within the tools what formula do i need to put in? 

 

Thanks 

Alteryx Certified Partner
Alteryx Certified Partner

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. 

Alteryx Certified Partner
Alteryx Certified Partner

Here is how I would approach the problem, rather than using a condition tool...

 

TrueContainerToRun.png

 

FalseContainerToRun.png

Asteroid

@BenMoss

I am using a old version of alteryx. cant open the package you have attached. can you turn it be a app?

 

Thanks

 

 

Alteryx Certified Partner
Alteryx Certified Partner

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

Labels