Master workflow with drop down that controls which sub workflow fires
Hope this makes sense but I am trying to create a "master" workflow that is basically a drop down where the user selects 3 possible options each corresponding to a specific workflow. When the user selects 1 of the 3 options, I want the corresponding workflow to fire.
Is this possible? I have three workflows that are all very similar; however, take different fields as inputs so the user would basically select what field they want to use for the workflow in the master workflow.
-
Hi Ryan,
Yes this is possible. You can use the Run Workflow with values configure in the Arguments property that will be passed to the referenced workflow. For example, if you set it to ={ "argument1": "The output value" } and used a Get Workflow Inputs activity in the called workflow, you can then access those values using $getWorkflowInputs1.inputs.argument1. You can pass several arguments between workflows as once the called workflow completes, it will return back to the initial workflow.
Thanks, Stefan
0 -
@Stefan Schweigert?
The initial workflow (the drop down workflow) is just to open the correct subsequent workflow (if that makes sense). So there won't be any input from step 1 work flow to step 2.
Example:
workflow 1:
How do you want to search :
a) civic address (drop down option1)
b) PID (drop down option2)
Lets say user picks PID (drop down option 2)
The window is then populated with the PID Search workflow where the user fills in a pid to search by etc. etc.
0 -
Sounds good. When the user selects and option and they submit the form, then you could have an If statement to determine which workflow should be run next.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare