Skip to main content
Nintex Community Menu Bar
Solved

Passing parameter from WorkFlow to another WorkFlow

  • May 22, 2024
  • 2 replies
  • 129 views

Forum|alt.badge.img+4

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?

Best answer by nicksha

@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

2 replies

Forum|alt.badge.img+9
  • Nintex Employee
  • Answer
  • May 22, 2024

@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


Forum|alt.badge.img+4
  • Author
  • Rookie
  • May 23, 2024

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.