Run Macro depending on user selection
- 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 am new to Alteryx and it is my first time to post a question.
I have 6 different macros inside a workflow. Is it possible to let user select which macro to run? i am thinking for example to have 6 checkboxes(1 check box for each macro), if the user check 1st and 3rd macro then only 2 macros will run. I hope that i explained well my question. Thank you in advance.
- Labels:
- Interface Tools
- Macros
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @mrJAS ,
Yes that's doable. You would have to use 6 different containers, one containing each macro and then use a checkbox tool for each one of them to allow the user to activate one or more containers from the interface.
Someone had a similar question recently in the community and I shared a workflow with them; The example only uses two containers, but you can do them for 6. Here's the link to the post.
Let me know if you have any questions on the workflow. You should use 6 different checkbox tools, and not a single one as I have.
Looking forward to what you can come up with, please feel free to reach out if you face any issues.
Cheers,
Angelos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @mrJAS
Well there is a way you can use to execute one of the macros and is using tool containers in this way you can disable/enable the container you need to execute.
In reality I just have done it with 2 containers, I guess with a little work you can use this method with more containers.
This link contains an example Selecting Containers
I hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you for your response and yes i am able to do what i needed with conditional routing using checkbox. Is it okay if i have a follow up question, how can i give the user the option to select all the 6 checkboxes? i am thinking to have another checkbox that says select all and if the user check it all the 6 checkboxes will be selected, is this possible to alteryx?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @mrJAS ,
Glad that this worked for you. You can try adding another checkbox which you can connect to all 6 checkboxes and that would enable all of them, but I haven't tested how that will work with the selection of the other checkboxes.
Hope that's helps.
Cheers,
Angelos
