---
schema_version: "1"
id: bd282e4cd94f5c0d7f621f1736fabd3684a0e5d6d35ca59f3d184638a06b0656
title: Retrigger Failed Orders in a B2B Store with an Automatic Flow
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_async_deploy_retrigger_place_order_flow.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_async_deploy_retrigger_place_order_flow.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5cd43e619a2dd388207084ccbc493c67f11f9b02632dbdcd9f4df917a6334388
description: When an order fails (PlaceOrderFailed), a process exception record is created. As a Commerce admin, you can view the record to investigate the cause and fix it. After the record’s status is changed to Resolved, you can use the Retrigger Place Order flow to place the order gain.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Retrigger Failed Orders in a B2B Store with an Automatic Flow

When an order fails (PlaceOrderFailed), a process exception record is created. As a Commerce admin, you can view the record to investigate the cause and fix it. After the record’s status is changed to Resolved, you can use the Retrigger Place Order flow to place the order gain.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

Before deploying the Retrigger Place Order flow, configure sharing settings for the Commerce admin.

1. If your store was created using `sfdx` after the Summer ’23 release, go to step 3 to activate the preinstalled Retrigger Place Order flow.
2. If your store was created before Summer ’23, deploy the flow.
    1. In your browser, go to [https://github.com/forcedotcom/commerce-on-lightning](https://github.com/forcedotcom/commerce-on-lightning).
    2. If you haven’t already, clone the commerce-on-lightning repo.
    3. Check out the main branch.
    4. Open a command prompt and navigate to the commerce-on-lightning/examples/b2b/checkout/retrigger-place-order directory.
    5. Deploy the flow using SFDX.
        
        ```
        sfdx force:mdapi:deploy -d <path-to-this-directory> -w -1
        ```
3. Activate the flow.
    1. Click ![Setup](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/comm/images/comm_setup_icon_no_border.png) at the top of the page, and then select **Setup**.
    2. In the Quick Find box, find, and select **Flows**.
    3. Click **Retrigger Place Order**.
    4. Click **Activate**.

#### See Also

- [Modify Sharing Settings to Resolve Failed Orders for B2B Stores](https://help.salesforce.com/s/articleView?id=commerce.comm_async_configure_sharing_settings.htm&release=264.0.0&type=5 "To let a Commerce admin resolve process exceptions for failed orders (PlaceOrderFailed), modify the sharing settings for the Process Exception object.")