I have two macros.
1) First macro has 1 input file say A
2) Second macro has two input files X and Y.
Now I have to make an app such that if user puts file A in the app the first macro (wf) will run. If the user puts file X (the main file), the user will be asked to input file Y and so the second macro (wf) should give output.
How can I do this?
Solved! Go to Solution.
I'm assuming your user knows the difference between file A & X:
In the interface you can ask the user if they are using File A - if so they use a Folder Browse tool to navigate to the file.
If not they will still use Folder Browse tool to navigate to file X, but a second folder browse also becomes available to navigate to file Y
(Check out the use of radio buttons in interface to get the user to choose between options - text boxes are also available to help make things clear for your user)
You could then use the results of your radio button to branch off to containers, so that only the relevant branch runs.
Add in dynamic input(s) in the containers to import the relevant file(s) from the Folder Browse input(s) before triggering the appropriate macro.
Hope that makes sense!
@stataltgee
You can create the User Interface in a way that you create 2 options, 1 select file A or 2 select X and Y. You can create Radio Buttons, 1 for each option and based on the selection of them a file browser or browsers will open like in a drop box.
In the workflow you can create a file count and if count 1 disable the X Y macro, just put it in a Container, same for the other macro if Count=2 disable the container with macro A
User | Count |
---|---|
60 | |
24 | |
24 | |
21 | |
21 |