Hi All- I have 2 workfloes which take input from User one in the form of text box and other as a file input. Now I want that there should be checkbox based on which one set of code should run. Like if user selected checkbox then set of code 1 should be activated(which mean textbox input) and code 2 should be disbaled(file input).
Kindly help with this. any example would be really helpful.
Thanks
Solved! Go to Solution.
Thanks for the help. I tried using containers with condition and tis not working so what i did you can see below too that if condition is true then disable the container 33 and if condition is false then enable container32.
In condition expression i have stated [#1] but it gives me error disabled containers may not contain interface tools.
Since I am new to alteryx so need your help. Really appreciate it.
Hi,
So the particular issue here is that the File Browse and Action tools cannot be inside of the tool containers. If you pull them out, while leaving your Input Data and Output Data tools inside the Container that should resolve the error message.
Additionally, if these are truly mutually exclusive, your solution will work, but I recommend using two Radio Buttons instead. I've attached some screenshots of how to configure this, but the benefit of this option is that you can leverage the Interface Designer to make it so that when each Radio Button is selected Alteryx will not only disable the tool container, but will also hide that specific prompt.
Hope this helps!
Hi,
So it looks like the issue here is that the File Browse, Text Input, and Action tools have to be outside of the tool containers. If you move them out the error should be resolved.
However, I'm guessing you're looking to have the interface questions show/hide based on the check box? If this is the case, I would recommend using Radio Buttons instead. I've got some screenshots below which should give a decent example of how to implement this.
Hope this helps!
Thank you and I tried the way you mentioned. Although It serves the purpose of giving selection process but while writing it to final destination it fails. I am sending you my workflow hope u might be able to find something which I am missing but the way u mentioned that helped me selecting one option at interface level. Lets say if I selected Text box and will process it, will give error. and when i give filename and then select text box it will run fine. Which means it need inputs for both the options irrespective to if one is disabled.
If you want u can change ur output files although i m sending as an attachments
tl;dr: Take out your condition tools and attach Q-Q, as when a radio button is false, nothing changes in the workflow
The problem you have is that you have one connection on each of the containers and both containers are enabled as default.
Although, you should be able to set it up with minimal connections like this, it offers the opportunity for error. Go through each use case:
There are a couple of ways out of this.
Kane
if You dont mind Could you please share an example.
Regards
Taran
Hi,
I've attached an updated example - all I did was swap the action tools to update off of the "false" condition, and changed it to disable the container. This is probably the easiest way to set your workflow up for ease of editing as well as ease of use in the app.
If this still gives you errors let me know!
I tried using this but it gives error on Option1 . Screenshot shown below.
User | Count |
---|---|
18 | |
14 | |
13 | |
9 | |
8 |