[Yandex Cloud documentation](../../../../index.md) > [Yandex Serverless Integrations](../../../index.md) > [Step-by-step guides](../../index.md) > Workflows > [Workflow step constructor](index.md) > Control steps > Parallel

# Adding parallel logic

The Parallel control step executes multiple branches (sequences of steps) concurrently. The result of the step is an object in which keys and values are the names of the execution branches and their outputs, respectively. Read more about the [workflow state during the Parallel step](../../../concepts/workflows/workflow.md#state-for-Parallel).

{% list tabs %}

- Management console {#console}

  1. When [creating](../workflow/create-constructor.md) a new workflow or [editing](../workflow/update.md) an existing one, in the management console, under **Create workflow** / **Edit workflow**, select `Constructor`. 
  1. From the **Control steps** section on the left side of the screen, drag the ![parallel-step-icon](../../../../_assets/serverless-integrations/parallel-step-icon.svg) **Parallel** element to the relevant workflow location in the constructor window.

      You can drag and drop steps into areas marked by the dotted line in the workflow schema, such as **Add a step**, etc.
  1. In the workflow schema window, click the new **Parallel** section to select it.
  1. At the right of the window, on the **Settings** tab.

      1. In the **Step name** field, enter a name for the workflow step.
      1. Set the number of concurrent branches in the **Number of branches executing concurrently** field. For example, if you set it to `2` while a total of 5 branches were added, no more than 2 randomly selected branches will be executed simultaneously.
  1. Optionally, navigate to the **Input** tab and set a [jq template](../../../concepts/workflows/templating.md) to filter the [workflow state](../../../concepts/workflows/workflow.md#state) fed into the step.
  1. Optionally, navigate to the **Output** tab and set a [jq template](../../../concepts/workflows/templating.md) to filter the step outputs added into the [workflow state](../../../concepts/workflows/workflow.md#state).
  1. To add a new execution branch:

      1. In the bottom-right corner of the **Parallel** section, click ![circle-plus-fill](../../../../_assets/console-icons/circle-plus-fill.svg).
      1. In the dialog box that opens, enter the name of the branch to add. Click **Create**.
  1. To add a new step to an execution branch, drag the step to the area marked by the dotted line from **Integration steps** or **Control steps**.

{% endlist %}

## Useful links {#see-also}

* [YaWL specification](../../../concepts/workflows/yawl/management/parallel.md)
* [Creating a workflow using the constructor](../workflow/create-constructor.md)
* [Updating a workflow](../workflow/update.md)