---
category: [Administration & Integrations, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions, Platform and Product Extensions/Integration]
keyword: [Integrate, Workday Integration, Orchestrate for Integrations, Orchestration, Orchestration Builder]
nav: wcp_docs
parent_url: /wcp_docs/
title: Create Loop Early Stop Conditions
layout: subsection
---

### Prerequisites

Create an orchestration containing a <b>Loop</b> step.

### Context

Orchestration Builder enables you to end loop iteration when a specified condition is met, rather than when there are no more elements to process. This means you can terminate a loop when it has retrieved all relevant data, increasing efficiency and conserving resources.

### Steps

1.  Click the related actions menu on the relevant <b>Loop</b> step and select <b>Create Early Stop Condition</b>.
2.  Provide a <b>Reference Name</b> for the Early Stop Condition.
3.  In the <b>Early Stop Condition</b> field, use Expression Builder to specify the condition under which loop iteration terminates.

    After saving, Orchestration Builder adds an Early Stop Condition icon to the <b>Loop</b> step. Click it to edit the condition.

    A loop with an Early Stop Condition creates a boolean output called `did.Stop.Early`, which evaluates to `true` if the loop terminates early because the condition is met.

4.  (Optional) To process loop iterations in sequential order rather than in parallel, select the <b>Force Sequential Processing</b> checkbox. The <b>Force Sequential Processing</b> checkbox remains inactive when the Early Stop Condition expression field contains the value `false`.

    <b>Note:</b> Forcing sequential processing can significantly increase processing time for the orchestration and may cause a timeout that would not otherwise have occurred.

5.  To delete an Early Stop Condition, click the related actions menu on the relevant <b>Loop</b> step and select <b>Delete Early Stop Condition</b>.


