Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Is there a way to dynamically enable/disable tool containers?

hlee36
8 - Asteroid

I am building a workflow that I use every month, and intend to roll over files.

 

I am trying to make it easier to roll over. 

 

Is there a way/tool to enable/disable the tool container?

 

My file name will contain number of month, for example, "workflow 1" for January. 

 

I can use formula [Engine.WorkflowFileName] to get the number of month.

 

So, if the workflow file is for January, I would like to diable my 11 other tool containers.

4 REPLIES 4
ArnaldoSandoval
12 - Quasar

Hi @hlee36 

 

Perhaps the Control Container is what you need, it was introduced with Alteryx 2023.1.1.200 Patch 1.

I am attaching two workflows based in your description, WF_Jan.yxmd and WF_Feb.yxmd, as your rule is driven by the workflow name (odd).

These workflows implement the Control Container which allow us to disable-enable the container at run time.

 

hth

Arnaldo

 

hlee36
8 - Asteroid
 

I'm not able to see what you built.

Screenshot 2023-08-10 213754.png

PangHC
12 - Quasar

beside what you want, I believe it should have another simple method to handle what you require, maybe can do with multiple rows, macro etc. 

 

did you mind sharing what you want to do for different month? please share with example data of course.

ArnaldoSandoval
12 - Quasar

Hi @hlee36 

 

That is because you do not have the latest version of Alteryx installed on your machine, I also agree with @PangHC perhaps there are other ways to implement your requirements, although I am sure you have a very good reason for the one you are trying now.

 

Arnaldo

Labels
Top Solution Authors