Loading
Prepare for Email to Become the Default Login ExperienceRead More
Intermittent freezing when using using certain browser versionsRead More
Automate Your Business Processes with Salesforce Flow
Fulfill Reservation Action

Fulfill Reservation Action

In Omnichannel Inventory, fulfill one or more inventory reservations at a location.

Required Editions

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

In Flow Builder, add an Action element to your flow. Select the Omnichannel Inventory Service category, and search for Omnichannel Inventory Service Fulfill Reservation.

Note
Note Set the flow’s runtime API version to 52.0 or later.

Set Input Values

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

Input Parameter Description
Omnichannel Inventory Service Fulfill Reservation Input

This input is an Apex-defined variable of class ConnectApi.OCIFulfillReservationInputRepresentation.

The variable has one field: fulfillmentRecords. This field is a list of up to 100 Apex-defined variables of class ConnectApi.OCIFulfillReservationSingleInputRepresentation. Each variable has these fields.

  • actionRequestId—A UUID that identifies the request. To identify which actions succeeded or failed, use the action request IDs in the output variables.
  • externalRefId—Optional. The external reference ID.
  • locationIdentifier—Identifier of the location at which to fulfill the reserved inventory.
  • quantity—The quantity of the product to fulfill.
  • stockKeepingUnit—The Stock Keeping Unit of the product to fulfill.

Store Output Values

Output Parameter Description
Omnichannel Inventory Service Fulfill Reservation Output

This value is an Apex-defined variable of class ConnectApi.OCIFulfillReservationOutputRepresentation.

The variable has these fields.

  • errors—A list of Apex-defined variables of class ConnectApi.OCIFulfillReservationErrorOutputRepresentation. Each variable represents a returned error and has these fields.
    • details—An Apex-defined variable of class ConnectApi.OCIFulfillReservationSingleOutputRepresentation. Each variable represents a returned error and includes the values from the input so you can resubmit them:
      • actionRequestId—A UUID that identifies the failed request.
      • externalRefId—The external reference ID.
      • locationIdentifier—Identifier of the location at which to fulfill the reserved inventory.
      • quantity—The quantity of the product to fulfill.
      • stockKeepingUnit—The Stock Keeping Unit of the product to fulfill.
    • errorCode—The error code.
    • message—Details of the error, if available.
  • success—Indicates whether the fulfillment succeeded.

To set up the Omnichannel Inventory Service Fulfill Reservation Input:

  • For each reservation to fulfill, use Assignment elements to set the actionRequestId, externalRefId, locationIdentifier, quantity, and stockKeepingUnit field values on a ConnectApi.OCIFulfillReservationSingleInputRepresentation variable.
  • Use Assignment elements to add the ConnectApi.OCIFulfillReservationSingleInputRepresentation variables to the fulfillmentRecords field on a ConnectApi.OCIFulfillReservationInputRepresentation variable.
  • Use the ConnectApi.OCIFulfillReservationInputRepresentation variable in the action input.
 
Loading
Salesforce Help | Article