---
schema_version: "1"
id: 0811981c94c10c8821d945acf3fc06e9e4c9b7646b7d8a00057a4d51e3783594
title: Flow Template for Stock Rotation Incentive Notifications
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/chrm_stock_rotation_flow_template.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.chrm_stock_rotation_flow_template.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ef1a5f63450eccc8ad7ec9b47af0e33c17ef2251c7e21c749c7c3d5fedbc5672
description: Use the record-triggered flow to notify the partners when a new stock rotation window opens. This ensures partner users are informed in real time and have sufficient time to review eligible inventory and submit stock rotation requests before the program deadline. Customize the out-of-the-box notification flow to meet your organization’s communication and branding requirements.
products:
  - Partner Cloud
  - Cross Cloud
  - Manufacturing
release: "264"
---
# Flow Template for Stock Rotation Incentive Notifications

Use the record-triggered flow to notify the partners when a new stock rotation window opens. This ensures partner users are informed in real time and have sufficient time to review eligible inventory and submit stock rotation requests before the program deadline. Customize the out-of-the-box notification flow to meet your organization’s communication and branding requirements.

### 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;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions that have Stock Rotation enabled.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d20828e63">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d20828e63 ">To configure notification flow:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d20828e63 ">Stock Rotation Admin User</td>

          </tr>
        </tbody>
      </table>

1. From Setup, in the Quick Find box, enter Flows, and then select **Flows**.
2. Open the Send Stock Rotation Execution Notification flow.
3. Update email templates. Modify the email alert action to change the messaging, subject line, or branding of the notification sent to partners.
4. Add In-App Alerts (Optional). Add a Send Custom Notification action to notify users through the Salesforce notification bell or mobile app.
5. Test the flow. Create a Stock Rotation Execution record for a test partner account and confirm that the associated partner user receives the notification.
6. Click **Activate** to enable the notification for all future rotation cycles.

The system uses a record-triggered flow that activates as soon as a Stock Rotation Execution record is created by the Data Processing Engine (DPE).

- Trigger: The flow identifies a new Stock Rotation Execution record linked to a specific partner account.
- User Identification: The flow retrieves all contacts related to the partner account.
- Permission Validation: To ensure notifications are sent only to authorized users, the flow filters users who are assigned the Stock Rotation Experience Cloud Permission Set License (PSL). Also, ensure that all eligible partners have the appropriate Partner Community License assigned.
- Notification Delivery: Identified users receive an email notification containing the Execution ID and a direct link to the record in the Partner Portal.