Loading
Prepare for Email to Become the Default Login ExperienceRead More
Automate Your Business Processes with Salesforce Flow
Release Held Fulfillment Order Capacity Action

Release Held Fulfillment Order Capacity Action

In Salesforce Order Management, release held fulfillment order capacity at one or more locations. This action decreases the held capacity of a location without increasing the assigned fulfillment order count. Use this action when canceling a fulfillment order assignment to free up capacity at one or more locations.

Required Editions

Available in: Lightning Experience
View supported editions.
This feature requires the Salesforce Order Management add-on. To purchase, contact your Salesforce account executive.

In Flow Builder, add an Action element to your flow. Select the Order Management category, and search for Release Held Fulfillment Order Capacity.

Set Input Values

Use values from earlier in the flow to set the inputs.

Input ParameterDescription
Fulfillment Order Location Release Held Capacity Input

This input is an Apex-defined variable of class ConnectApi.ReleaseHeldFOCapacityRequestInputRepresentation, which includes these fields:

  • allOrNothing —(Optional) Controls whether a single failed request cancels all other requests in the list (true) or whether some requests can succeed if others fail (false). The default value is false.
  • capacityRequests —This field is a list of Apex-defined variables of class ConnectApi.CapacityRequestInputRepresentation. Each of the variables represents a request to release capacity for one fulfillment order at one location, and includes these fields:
    • actionRequestId —Unique string that identifies the request. Can be a UUID. Use the action request IDs in response data to identify which requests succeeded or failed.
    • locationId —ID of the location associated with the request.

Store Output Values

Use output values later in the flow. The values are assigned when the capacity properties are updated.

Output ParameterDescription
Fulfillment Order Location Release Held Capacity Output

This output is an Apex-defined variable of class ConnectApi.ReleaseHeldFOCapacityResponseOutputRepresentation, which includes this field:

  • capacityResponses —This field is a list of Apex-defined variables of class ConnectApi.CapacityResponseOutputRepresentation, each of which includes these fields:
    • actionRequestId —Unique string that identifies the original capacity request.
    • error —This field is an Apex-defined variable of class ConnectApi.ErrorResponse, which includes these fields:
      • errorCode —Error code, if the request returned an error.
      • message —More error detail, if available.
    • success —Indicates whether the request was successful (true) or not (false).
 
Loading
Salesforce Help | Article