---
schema_version: "1"
id: 857f56c7c0d76e1e4eceea7887ed6a0a7886035a8f7aecce6f85e9f2d7fd56a7
title: Use Decision Table in Flow to Redeem Points
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/decision_table_in_flow_to_redeem_points.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.decision_table_in_flow_to_redeem_points.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0031bcf4672eed99858e3b4259af99fdcc1558158f7d53d0fe38903c074326c3
description: Learn how to use decision table in flow to redeem the points.
products:
  - Loyalty Management
release: "264"
---
# Use Decision Table in Flow to Redeem Points

Learn how to use decision table in flow to redeem the points.

### 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: Lightning Experience in&nbsp;<strong>Enterprise</strong>,&nbsp;<strong>Performance</strong>, <strong>Developer</strong>, and&nbsp;<strong>Unlimited</strong>&nbsp;Editions that have Loyalty Management enabled.</td></tr></tbody></table>

1. From **Setup**, in the Quick Find box, enter Flow, and then select **Flows**.
2. Click **New Flow**.
3. Select **Autolaunched Flow (No Trigger)**, and click **Next**.
4. Click +.
5. Select **Action**.
6. In the Category, select **Decision Table**.
7. Select the **Redemption Catalog - Transaction Journal Link** action, and complete the following details:
    
    - Label: Get Redemption Quote
    - Set Input Values
        - **Transaction Journal:** {!JournalRecord}
8. Click **Done**.
9. Click +.
10. Select **Action**.
11. Select the **Get Points Balance** action and complete these steps:
    
     
    | Field | Value |
    | --- | --- |
    | Label | Get Member Balance |
    | Program | Corporate Loyalty Program |
    | Currency Type | Points |
    | Member ID | {!JournalRecord.MemberId} |
12. Click **Done**.
13. Click +.
14. Select **Decision** and complete these steps:
    
    - - Label: Check sufficient balance
        - In the Outcome Details, complete the following fields:
            - **Label:** Sufficient Balance
            - **When to Execute Outcome** All Conditions Are Met
            - **Conditions:**
                - Resource: {!Get\_Member\_Balance.PointsBalance}
                - Operator: Greater Than or Equal To
                - Value: {!Get\_Redemption\_Quote.singleOutcome.Points\_\_c}
15. Click **Done**.
16. Click +.
17. Select **Action**.
18. Select the **Debit Points** action and complete these steps:
    
    | Field | Value |
    | --- | --- |
    | Label | Debit Points for Member |
    | Program | Corporate Loyalty Program |
    | Currency Type | Points |
    | Recipient Member ID | {!JournalRecord.MemberId} |
    | Number of Points to Debit | {!Get\_Redemption\_Quote.singleOutcome.Points\_\_c} |
    | Journal ID | {!JournalRecord.Id} |
    | Promotion ID | Debit Points |
19. Click **Done**.
20. Save your changes.
21. Name the flow Debit Points for Member, and save your changes.
22. Activate the flow.
    
    After the flow is executed, the points are redeemed and the corresponding record in the Loyalty Member Currency table is updated, including the points balance and total points redeemed.