---
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: Define HTTP Retry Policies
layout: subsection
---

### Prerequisites

<a id="d462e97"></a>
Create an orchestration.

### Context

<a id="d462e103"></a>
You can define HTTP retry policies to specify:

-   How often Orchestration Builder retries a failed HTTP request.
-   The conditions under which Orchestration Builder attempts a retry.


You can apply your defined HTTP retry policies to these <b>Data Request</b> components:

-   <b>Send HTTP Request</b>
-   <b>Send WWS Pagination API Request</b>
-   <b>Send Workday API Request</b>


### Steps

1.  <a id="d462e144"></a>Click the gear icon to access <b>Orchestration Settings</b>.
2.  <a id="d462e153"></a>In the <b>Settings</b> panel, click <b>HTTP Retries</b>.
3.  <a id="d462e165"></a>As you complete this task, consider:

<table><thead><tr><th>    Option</th><th>    Description</th></tr></thead><tbody><tr><td><b>Name</b></td><td>Provide a name for the retry configuration policy.</td></tr><tr><td><b>Maximum Total Retries</b></td><td>Specify the maximum number of HTTP retries that Orchestration Builder can attempt. You can't specify more than 60 retries.</td></tr><tr><td><b>Default Backoff Strategy</b></td><td>The default backoff strategy determines how Orchestration Builder's HTTP requests change over time. Specify these parameters: <ul><li>    <b>Retry Interval</b>: The initial time in milliseconds between request retries.
</li><li>    <b>Increment Factor</b>: The amount by which the retry interval increases after each request failure. Example: an increment factor of 2 means the retry interval doubles after each failure.
</li><li>    <b>Max Interval</b>: The maximum time in milliseconds between request retries.
</li></ul></td></tr><tr><td><b>Successful Response Code Ranges</b></td><td>(Optional) Specify the start and end of the range of HTTP codes that Orchestration Builder should consider a successful response. <p>Click <b>Add a Range</b> to specify additional success ranges.</p> <p><b>Note:</b> If you want an unsuccessful HTTP response to cause your orchestration to fail, you must create a custom HTTP retry policy with a defined success range. In the absence of such a policy, an unsuccessful HTTP response doesn't cause an orchestration to fail.</p></td></tr></tbody></table><br/>

4.  <a id="d462e243"></a>To define the conditions under which retries occur, click <b>Add a Set of Conditions</b>. A set can contain a single condition or multiple conditions, and you can define multiple sets. Provide a <b>Name</b> for the set, then click <b>Add Condition</b>. As you complete this task, consider:

<table><thead><tr><th>    Option</th><th>    Description</th></tr></thead><tbody><tr><td><b>Condition <Number></b></td><td>Select the type of condition that governs when retries occur using 1 of these values: <ul><li>    <i>Header</i>
</li><li>    <i>Header Value</i>
</li><li>    <i>Status Code</i>
</li><li>    <i>Status Code Range</i>
</li><li>    <i>Soap</i>
</li><li>    <i>Response Timeout</i>
</li><li>    <i>Connection Timeout</i>
</li><li>    <i>Retry on Any Failure</i>
</li><li>    <i>Custom</i>
</li></ul> For <i>Header</i>, specify the <b>Name</b> of a response header that triggers a retry. <p>For <i>Header Value</i>, specify the <b>Name</b> of a response header and an associated <b>Value</b> that triggers a retry.</p> <p>For <i>Status Code</i>, specify 1 or more response <b>Codes</b> that trigger a retry.</p> <p>For <i>Status Code Range</i>, specify the start and end of a range of code responses that triggers a retry.</p> <p>For <i>Soap</i>, specify a SOAP response <b>Code</b> that triggers a retry.</p> <p>Use <i>Retry on Any Failure</i> for unusual connection exceptions not covered by the other retry conditions.</p> <p>For <i>Custom</i>, create an expression that defines a specific condition of your choosing. The expression can use <code>currentStep</code>, the output of the HTTP step itself.</p></td></tr><tr><td><b>Add Condition</b></td><td><p>Click to specify another condition in this set.</p> <p>Within a set, Orchestration Builder retries a HTTP request only when all conditions in that set are met. If you define multiple sets, a retry occurs when all conditions in any one set are met. Sets are evaluated in order, and the first fully matched set determines the backoff strategy and maximum retries used for that attempt.</p></td></tr><tr><td><b>Backoff</b></td><td>Specify that this set of conditions should use the default backoff strategy or override the default with 1 of these backoff strategies: <ul><li>    <i>Exponential Interval</i>: Specify the same parameters used for the default backoff strategy.
</li><li>    <i>Retry-After Header</i>: Specify the <b>Max Interval</b> in milliseconds. This value is the longest retry delay that Orchestration Builder will accept as an instruction from the response header.
</li></ul></td></tr></tbody></table><br/>

5.  <a id="d462e428"></a>Click <b>Create Retry Config</b>.


### Result

<a id="d462e438"></a>
The configuration you created is now available to these Orchestration Builder <b>Data Request</b> components:

-   <b>Send HTTP Request</b>
-   <b>Send WWS Pagination API Request</b>
-   <b>Send Workday API Request</b>


You can find it on each component's <b>Settings</b> tab, in the <b>Retry Settings</b> section.

