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

Release Reservation Action

In Omnichannel Inventory, release one or more inventory reservations.

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 Release 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 Release Reservation Input

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

The variable has one field: releaseRecords. This field is a list of up to 100 Apex-defined variables of class ConnectApi.OCIReleaseReservationSingleInputRepresentation. 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.
  • locationGroupIdentifier—Identifier of the location group at which to release the reserved inventory. Either locationGroupIdentifier or locationIdentifier is required, but not both.
  • locationIdentifier—Identifier of the location at which to release the reserved inventory. Either locationIdentifier or locationGroupIdentifier is required, but not both.
  • quantity—The quantity of the product to release.
  • stockKeepingUnit—The Stock Keeping Unit of the product to release.

Store Output Values

Output Parameter Description
Omnichannel Inventory Service Release Reservation Output

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

The variable has these fields.

  • errors—A list of Apex-defined variables of class ConnectApi.OCIReleaseReservationErrorOutputRepresentation. Each variable represents a returned error and has these fields.
    • details—An Apex-defined variable of class ConnectApi.OCIReleaseReservationSingleOutputRepresentation. 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.
      • locationGroupIdentifier—Identifier of the location group at which to release the reserved inventory.
      • locationIdentifier—Identifier of the location at which to release the reserved inventory.
      • quantity—The quantity of the product to release.
      • stockKeepingUnit—The Stock Keeping Unit of the product to release.
    • errorCode—The error code.
    • message—Details of the error, if available.
  • success—Indicates whether the release succeeded.

To set up the Omnichannel Inventory Service Release Reservation Input:

  • For each reservation to release, use Assignment elements to set the actionRequestId, externalRefId, locationGroupIdentifier or locationIdentifier, quantity, and stockKeepingUnit field values on a ConnectApi.OCIReleaseReservationSingleInputRepresentation variable.
  • Use Assignment elements to add the ConnectApi.OCIReleaseReservationSingleInputRepresentation variables to the releaseRecords field on a ConnectApi.OCIReleaseReservationInputRepresentation variable.
  • Use the ConnectApi.OCIReleaseReservationInputRepresentation variable in the action input.
 
Loading
Salesforce Help | Article