Loading
Prepare for Email to Become the Default Login ExperienceRead More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Automate Your Business Processes with Salesforce Flow
Hold Fulfillment Order Capacity Action

Hold Fulfillment Order Capacity Action

In Salesforce Order Management, hold capacity to process fulfillment orders at one or more locations. This action increases a location’s held capacity. Hold capacity when you plan to assign a fulfillment order to a location.

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 Hold Fulfillment Order Capacity.

Set Input Values

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

Input ParameterDescription
Hold Fulfillment Order Capacity Input

This input is an Apex-defined variable of class ConnectApi.HoldFOCapacityRequestInputRepresentation, 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 hold 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
Hold Fulfillment Order Capacity Output

This output is an Apex-defined variable of class ConnectApi.HoldFOCapacityResponseOutputRepresentation, 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