I have a Workflow that I would like to pass a value, such as record ID to start another separate workflow. How do I do this?
For our example, let’s say Workflow A passes a variable to, and starts, Workflow B. You’d configure each workflow as follows:
Build Workflow B
- Create a new workflow.
- Set the ‘Start Event’ to ‘Component Workflow’.
- In the ‘Start Event’ configuration blade, select ‘+Create variable’.
- Add and configure any additional actions.
- Publish the workflow.
Build Workflow A
- Create a new workflow.
- Add a ‘Call a workflow’ action to the workflow.
- Open the configuration for ‘Call a workflow’.
- In the ‘Workflow’ dropdown menu, find and select ‘Workflow B’.
- Under ‘Inputs’ you’ll see a field for the Start Event variable from Workflow B; in this field, enter a value or add a variable using the ‘+Insert’ option.
- Publish Workflow A.
When you run Workflow A it will start Workflow B with the inputs that you provided.
Here’s some example workflows I created for your reference:
Workflow A: n6T7hf4Gsq5XXE2dPDs32Xt15WMJsJRHMVXZob77FRhf6cFqL
Workflow B: jomFJPZ1hgzoNCLLUcututAJUqDPkokZzkHmF9Ao58EmqXrae
Thank you. I kept breaking my workflow all day, but it sunk in, finally 3 minutes after I was off of work. Tested it, and it was a success. Thank you! This is going to be very helpful in an array of projects that I have assigned or will be.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.