Solved

Passing parameter from WorkFlow to another WorkFlow


Badge +2

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?

icon

Best answer by nicksha 23 May 2024, 00:12

View original

2 replies

Userlevel 2
Badge +9

@csergent7

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

  1. Create a new workflow.
  2. Set the ‘Start Event’ to ‘Component Workflow’.
  3. In the ‘Start Event’ configuration blade, select ‘+Create variable’.
  4. Add and configure any additional actions.
  5. Publish the workflow.

Build Workflow A

  1. Create a new workflow.
  2. Add a ‘Call a workflow’ action to the workflow.
  3. Open the configuration for ‘Call a workflow’.
  4. In the ‘Workflow’ dropdown menu, find and select ‘Workflow B’.
  5. 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.
  6. 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

Badge +2

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