---
sourceDocument: Brazil Build workflows
sourceDocumentLink: https://www.servicenow.com/docs/r/build-workflows

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build workflows

ft:clusterId :

    - crworkflow

bundleId :

    - crworkflow

workflow :

    - Creator


---

# Do the following in parallel flow logic

# Do the following in parallel flow logic {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Do the following in parallel flow logic

The "Do the following in parallel" flow logic in ServiceNow allows you to run actions and subflows concurrently within separate paths of a single flow logic block.
This enables multiple tasks to proceed simultaneously, improving efficiency when parallel processing is needed.
Although these paths execute independently, they run within a single thread and flow execution context, meaning true multithreading is not performed.
Show full answer Show less  
This flow logic does not accept direct inputs or produce outputs itself; instead, each path contains its own actions or subflows that run until completion. Outputs generated within each path are accessible only within that path until the entire block finishes, after which the outputs become available to the broader flow.

## Key Features

* **Concurrent execution:** Allows multiple actions or subflows to run in parallel paths within the same flow logic block.
* **Independent paths:** Each path proceeds independently, and if one action waits, other paths continue running.
* **Single-threaded execution:** Runs within one thread and execution context, preserving system resource efficiency.
* **Dynamic path creation:** Users can add paths dynamically using the plus icon to insert actions or subflows.
* **Outputs management:** Path outputs are isolated during execution but merged after completion for use in the main flow.

## Practical Example

For instance, when a new change request is created, you can use this flow logic to create two task records in parallel, each assigned to different groups. This example demonstrates using data pills from the triggering record to populate task descriptions, showcasing how parallel paths operate independently yet contribute to a cohesive workflow.

## Best Practices

* **Avoid data dependencies between paths:** Since paths may complete in any order, do not design flows where one path relies on data created or modified by another.
* **Do not share data across paths:** Workflow Studio restricts dragging data pills between paths to prevent unpredictable behavior due to asynchronous completion.

## Additional Considerations

If your use case requires true parallel processing in separate execution contexts (which consumes more instance resources), consider using **Dynamic flows** to run subflows independently within the same flow.

## What to Expect

Using "Do the following in parallel" flow logic helps optimize workflows by enabling simultaneous task execution without complex multithreading. It improves process efficiency while maintaining clear execution order within paths. However, customers should carefully design parallel paths to avoid data conflicts and ensure smooth flow execution.  
Run actions and subflows in separate paths within an isolated flow logic block.

With this flow logic, you can run actions and subflows in separate paths. If any action within
the Do the following in parallel flow logic block must wait, other actions run until all paths
within the block finish processing.  
Figure 1. Paths in a Do the following in parallel flow logic block  
Note:  
Paths in a Do the following in parallel flow logic block do not run in multiple threads, since a flow execution context runs in a single thread. However, there may be times when you want to run flows within separate contexts even though this may consume more of your instance's resources. To run subflows in separate flow contexts within the same flow, see [Dynamic flows](https://www.servicenow.com/docs/UPiveOIQepWbt3_pM56DDQ "Identify and run a flow or subflow dynamically by using runtime data. Build templates to provide expected inputs for dynamically called flows or subflows.").

## Inputs {#flow-logic-do-following-in-parallel__section_ycv_r35_w2b}

Do the following in parallel flow logic does not have field inputs. Instead, it displays a plus (![New Branch Icon]()) icon that enables you to create a path with actions or subflows.

The actions and subflows in each path run until all tasks within the flow logic block have completed.

## Outputs {#flow-logic-do-following-in-parallel__section_enb_s35_w2b}

This flow logic has no outputs, but actions and subflows in each path may have outputs. While
the flow is running, outputs from a path are only accessible to other actions in the same path.
After the Do the following in parallel flow logic completes, its final outputs are accessible to
the rest of the flow.  

## Create two tasks in parallel when a change request is created

In this example, a flow triggers when a new change request is created. Using Do the following in Parallel, two tasks are created in separate paths and are assigned to
different groups. The flow uses the Number field data pill from the
triggering change request to display the number in the short description for the task
record.
Figure 2. Do the following in parallel flow logic inputs

## Execution details {#flow-logic-do-following-in-parallel__section_gx3_s35_w2b}

Figure 3. Do the following in parallel execution details  
1. The header shows the state, start time, and runtime for the flow logic.
2. The Configuration Details section shows the state, start time, and runtime for each path in the flow logic block.
{#flow-logic-do-following-in-parallel__ol_wtt_scs_r2b}

## General guidelines {#flow-logic-do-following-in-parallel__id_pvc_b1y_f5b}

Avoid creating data dependencies between paths
:   Since a flow can run paths in any order, avoid creating data dependencies between separate paths. For example, do not have one path that creates a record and another path that updates the same record. The update record
    path may run before the create record path.

Do not share data between paths
:   Workflow Studio prevents you from dragging data pills between paths because the system cannot determine which path will finish first to supply the output value.
**Related concepts**   

* [Assign subflow outputs flow logic](https://www.servicenow.com/docs/qX27EulT5kOBRGKBYxAG8A "Specify the data the subflow returns when it completes running. Use subflow output as data for a parent flow or as input for another process.")
* [Call a workflow flow logic](https://www.servicenow.com/docs/NQEIJIgXEakKk3tuRLtZPw "Run a published and active workflow from your flow. You can use the flow data as a workflow input. For example, you can specify the current record as a workflow input.")
* [Do the following until flow logic](https://www.servicenow.com/docs/ovrNT5MVtXPVysCc2ZtXzw "Apply one or more actions repeatedly until an end condition is met. You can use the flow data to specify the end conditions.")
* [Dynamic flows flow logic](https://www.servicenow.com/docs/UPiveOIQepWbt3_pM56DDQ "Identify and run a flow or subflow dynamically by using runtime data. Build templates to provide expected inputs for dynamically called flows or subflows.")
* [End Flow flow logic](https://www.servicenow.com/docs/yoHSXT_u6_hZ~2BZ7Vs2sQ "Stop running the current flow. Use End Flow within a branch of the flow to specify an exit condition. For example, end the flow when it reaches a specific If flow logic block.")
* [For Each flow logic](https://www.servicenow.com/docs/esmLMDyz1JByfBNkIp58zw "Apply one or more actions to each record in a list of records.")
* [If flow logic](https://www.servicenow.com/docs/DdLyuPtduXTkT6w~M7dtvg "Selectively apply one or more actions only when a list of conditions is met.")
* [Make a decision flow logic](https://www.servicenow.com/docs/8NnG8rZdZCenxcQACsoXIQ "You can use the decision table branching logic in situations where multiple conditional paths are required, as an alternative to nested If, Else If, or Else flow logic. For example, if you want to determine what kind of car insurance you need, you can add inputs such as your age, accident history, and car model to the decision table to determine a level of insurance coverage. This logic can save you time and present a more readable format than nested if conditions or switch case statements.")
* [Set Flow Variables flow logic](https://www.servicenow.com/docs/pznT35Am0Xun~TcL09vXNg "Assign a value to one or more flow variables, which store flow data as data pills. Access flow variable values by referring to their data pill.")
* [Try flow logic](https://www.servicenow.com/docs/EfEGiwtJuz7RzLyjvwwBJA "Allow a flow to continue running when an error occurs within a flow logic block. Run a sequence of actions in response to errors within the flow logic block.")
* [Wait for a duration flow logic](https://www.servicenow.com/docs/2GOH3wSHrDcPpajWzQTdAg "Use this flow logic to give your users time to act during automated processes or to wait for a specific date and time to complete actions.")  
**Related reference**   

* [Append to Flow Variables flow logic](https://www.servicenow.com/docs/JlnmAl1y4IYNT_kgYbTTBg "Append a value to one or more array of objects flow variables. Use flow data to generate values.")
* [Exit Loop flow logic](https://www.servicenow.com/docs/IGMuJBwBeRK~eUyPdIpFIQ "Exit from a flow logic loop when the conditions of an If flow logic are met. Continue running the flow from the next step after the flow logic loop. This flow logic is also known as break.")
* [Get Flow Outputs flow logic](https://www.servicenow.com/docs/fXxlC3vf5PmIAASLlaHC7w "Retrieve output values generated by dynamic flows or subflows.")
* [Go back to flow logic](https://www.servicenow.com/docs/GrCZOQpQWRJoTNdB39tF2Q "Return to a prior step in the flow to repeat a sequence of actions.")
* [Skip Iteration flow logic](https://www.servicenow.com/docs/fvFzdxlhfu7NJl3i~niFcQ "Skip the current iteration of a flow logic loop when the conditions of an If flow logic are met. Continue running the flow logic loop with the next item in the list. This flow logic is also known as continue.")

