---
schema_version: "1"
id: ddca3473169d968afb88440ab5893afc8314d8d9d34e169ac8e8de014999af73
title: Debit Points for Member Redemptions (Example)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/promotion_setup_example_one.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.promotion_setup_example_one.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e8c0b6e46be7038292fac21d9d1a9a03982e8d179276e64622a7b3c11a450095
description: The program manager of Cloud Kicks Inner Circle has set up a loyalty program process that processes Redemption type transactions in real time. The process must debit points from the member's points balance and issue a voucher if members buy a promoted product.
products:
  - Loyalty Management
release: "264"
---
# Debit Points for Member Redemptions (Example)

The program manager of Cloud Kicks Inner Circle has set up a loyalty program process that processes Redemption type transactions in real time. The process must debit points from the member's points balance and issue a voucher if members buy a promoted product.

### 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</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>,&nbsp;<strong>Performance</strong>, <strong>Unlimited</strong>, and&nbsp;<strong>Developer</strong>&nbsp;Editions with Loyalty Management</td></tr></tbody></table>

## Scenario

Here are the business scenarios of the loyalty program process:

- Members must be debited points for a non-qualifying currency named Reward Points.
- A decision table decides the number of points that must be debited from the member based on the quantity and the brand of the product purchased.
    
    The standard type decision table is named Decide Points to Redeem. The rules that the decision table evaluates to provide the number of points to redeem is stored in a custom object named Redemption Catalog.
- A standard promotion is running between February 1 and February 28, 2022 for the Super Kicks product, and members are issued a voucher if they purchase the product.
    - The promotion is named Buy Super Kicks, Get a Voucher.
    - The value of the voucher is based on the member’s tier:
        
        - Silver: $10
        - Gold: $15
        - Platinum: $25
        
        The name of the tier group is Inner Circle Tier Group.
    - The voucher definition is already available in the Loyalty Management app and is named Super Kicks Discount.
        
        In the voucher definition, the Effective Date field is selected as February 1, 2022 and the Expiration Date is selected as February 28, 2022.

## Loyalty Program Process

Here's how the loyalty program process is defined.

 
| Field Name | Value |
| --- | --- |
| Name | Debit Points for Redemptions |
| Status | Draft |
| Process Execution Mode | RealTime |
| Loyalty Program | Cloud Kicks Inner Circle |
| Process Type | Transaction Journal |
| Journal Type | Redemption |

![Loyalty Program Process](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-loyalty_management-264-0-0-production-enus/0590ce3e-5a09-45ab-8e5e-68f359c35886/loyalty_management/images/promotion_setup_example_one_process.png)

## Parameters

The process requires these parameters.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e218">Parameter Number</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e221">Field Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e224">Value</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e227">Reason</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Parameter Number" class="slds-cell-wrap" rowspan="4" style="vertical-align:top;" headers="d6650e218 ">1</td>

            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Name</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">DecisionTableOutcomeType</td>

            <td data-label="Reason" class="slds-cell-wrap" rowspan="4" style="vertical-align:top;" headers="d6650e227 ">Stores the type of outcome provided by the Decide Points to Redeem
              decision table.</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Loyalty Program Process</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Debit Points for Redemptions</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Variable</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Data Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Text</td>

          </tr>
          <tr class="">
            <td data-label="Parameter Number" class="slds-cell-wrap" rowspan="5" style="vertical-align:top;" headers="d6650e218 ">2</td>

            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Name</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">PointsToDebit</td>

            <td data-label="Reason" class="slds-cell-wrap" rowspan="5" style="vertical-align:top;" headers="d6650e227 ">Stores the number of points that must be debited from the member's points
              balance. The value is provided as an output by the Decide Points to Redeem decision
              table.</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Loyalty Program Process</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Debit Points for Redemptions</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Variable</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Data Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Sobject</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Object</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Redemption Catalog</td>

          </tr>
          <tr class="">
            <td data-label="Parameter Number" class="slds-cell-wrap" rowspan="5" style="vertical-align:top;" headers="d6650e218 ">3</td>

            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Name</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">MemberPointsBalance</td>

            <td data-label="Reason" class="slds-cell-wrap" rowspan="5" style="vertical-align:top;" headers="d6650e227 ">Stores the points balance of the member.</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Loyalty Program Process</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Debit Points for Redemptions</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Variable</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Data Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Number</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Decimal Places</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">2</td>

          </tr>
          <tr class="">
            <td data-label="Parameter Number" class="slds-cell-wrap" rowspan="5" style="vertical-align:top;" headers="d6650e218 ">4</td>

            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Name</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">MemberEscrowPointsBalance</td>

            <td data-label="Reason" class="slds-cell-wrap" rowspan="5" style="vertical-align:top;" headers="d6650e227 ">Stores the escrow points balance of the member.</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Loyalty Program Process</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Debit Points for Redemptions</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Variable</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Data Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Number</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Decimal Places</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">2</td>

          </tr>
          <tr class="">
            <td data-label="Parameter Number" class="slds-cell-wrap" rowspan="5" style="vertical-align:top;" headers="d6650e218 ">5</td>

            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Name</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">VoucherCode</td>

            <td data-label="Reason" class="slds-cell-wrap" rowspan="5" style="vertical-align:top;" headers="d6650e227 ">Generates unique code for each issued voucher.</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Loyalty Program Process</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Debit Points for Redemptions</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Formula</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Data Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Text</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Formula</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">{!Promotion.Name} + {!TransactionJournal.Member.Contact.Name}</td>

          </tr>
          <tr class="">
            <td data-label="Parameter Number" class="slds-cell-wrap" rowspan="4" style="vertical-align:top;" headers="d6650e218 ">6</td>

            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Name</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">MemberTier</td>

            <td data-label="Reason" class="slds-cell-wrap" rowspan="4" style="vertical-align:top;" headers="d6650e227 ">Stores the member's tier.</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Loyalty Program Process</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Debit Points for Redemptions</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Variable</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Data Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Text</td>

          </tr>
          <tr class="">
            <td data-label="Parameter Number" class="slds-cell-wrap" rowspan="5" style="vertical-align:top;" headers="d6650e218 ">7</td>

            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Name</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">VoucherValue</td>

            <td data-label="Reason" class="slds-cell-wrap" rowspan="5" style="vertical-align:top;" headers="d6650e227 ">Assigns the voucher value based on the member's tier.</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Loyalty Program Process</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Debit Points for Redemptions</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Variable</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Data Type</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">Number</td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e221 ">Decimal Places</td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e224 ">0</td>

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

![Parameter for voucher code.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-loyalty_management-264-0-0-production-enus/0590ce3e-5a09-45ab-8e5e-68f359c35886/loyalty_management/images/promotion_setup_example_one_voucher_code.png)

## Rule to Debit Points

The rule is only used to debit points from the member's points balance for every Redemption type transaction journal.

 
| Field Name | Value |
| --- | --- |
| Name | Debit Points |
| Loyalty Program Process | Debit Points for Redemptions |
| Start Date | Jan 1, 2022 |

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:20%">
          <col style="width:20%">
          <col style="width:20%">
          <col style="width:20%">
          <col style="width:20%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e668">Step Type</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e671">Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e674">Child Step Of</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e677">Input Field Value</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e680">Output Field Value</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Step Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e668 ">Debit Points action</td>

            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e671 ">Debit Points from Member</td>

            <td data-label="Child Step Of" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e674 ">Does Member Have Sufficient Points Balance?</td>

            <td data-label="Input Field Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e677 ">
              <ul>
                <li>Currency Name: Reward Points</li>

                <li>Points to Debit: PointsToDebit &gt; Points_to_Debit__c (parameter)</li>

              </ul>
            </td>

            <td data-label="Output Field Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e680 ">—</td>

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

## Steps in the Debit Points Rule

Here are the steps that were added to the Debit Points rule.

Step 1: Find Out the Number of Points to be Debited

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e746">Step Type</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e749">Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e752">Input Field Value</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e755">Output Field Value</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Step Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e746 ">Get Outputs from a Decision Table action</td>

            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e749 ">Run the Decide Points to Redeem Decision Table to get the Number of Points to
              Debit</td>

            <td data-label="Input Field Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e752 ">
              <ul>
                <li>Decision Table: Decide_Points_to_Redeem</li>

                <li>Brand: TransactionJournal &gt; Brand</li>

                <li>Quantity: TransactionJournal &gt; Quantity</li>

              </ul>
            </td>

            <td data-label="Output Field Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e755 ">
              <ul>
                <li>Outcome Type: DecisionTableOutcomeType (parameter)</li>

                <li>Single Outcome: PointsToDebit (parameter)</li>

              </ul>
            </td>

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

Step 2: Get Member's Points Balance

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e822">Step Type</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e825">Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e828">Input Field Value</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e831">Output Field Value</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Step Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e822 ">Get Member's Points Balance action</td>

            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e825 ">Find Out Member's Points Balance</td>

            <td data-label="Input Field Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e828 ">Currency Name: Reward Points</td>

            <td data-label="Output Field Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e831 ">
              <ul>
                <li>Points Balance: MemberPointsBalance (parameter)</li>

                <li>Escrow Points Balance: MemberEscrowPointsBalance (parameter)</li>

              </ul>
            </td>

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

Step 3: Check if Member Has Sufficient Points Balance

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e885">Step Type</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e888">Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e891">Condition</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e894">Filter Criteria</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Step Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e885 ">Condition</td>

            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e888 ">Does Member Have Sufficient Points Balance?</td>

            <td data-label="Condition" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e891 ">All conditions are met (AND)</td>

            <td data-label="Filter Criteria" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e894 ">
              <ul>
                <li>Resource: PointsToDebit &gt; Points_to_Debit__c (parameter)</li>

                <li>Operator: Lesser than or equal to</li>

                <li>Type: Resource</li>

                <li>Value: MemberPointsBalance (parameter)</li>

              </ul>
            </td>

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

Step 3.1: Debits Points from Member

![Complete view of the first rule.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-loyalty_management-264-0-0-production-enus/0590ce3e-5a09-45ab-8e5e-68f359c35886/loyalty_management/images/promotion_setup_example_one_rule_one.png)

## Rule to Issue Vouchers

This rule is associated with a promotion and is used to issue a voucher to members who have availed the promotion.

 
| Field Name | Value |
| --- | --- |
| Name | Issue Voucher for Super Kicks Promotion |
| Loyalty Program Process | Debit Points for Redemptions |
| Promotion | Buy Super Kicks, Get a Voucher |
| Previous Process Rule | Debit Points |

## Steps in the Issue Voucher for Super Kicks Promotion Rule

Here are the steps that were added to the Issue Voucher for Super Kicks Promotion rule.

Step 1: Get Member's Tier Group

   
| Step Type | Name | Input Field Value | Output Field Value |
| --- | --- | --- | --- |
| Get Member's Tier action | Find Out Member's Tier | Tier Group: Inner Circle Tier Group | Member Tier: MemberTier (parameter) |

Step 2: Add a Condition Group

The name of the condition group is Assign Voucher Value Based on Member's Current Tier.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:20%">
          <col style="width:20%">
          <col style="width:20%">
          <col style="width:20%">
          <col style="width:20%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e1103">Step Type</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e1106">Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e1109">Parent Step</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e1112">Condition Criteria or Input Field Values</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e1115">Filter Criteria or Output Field Values</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Step Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1103 ">Condition</td>

            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1106 ">Filter Only Silver Tier Members</td>

            <td data-label="Parent Step" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1109 ">—</td>

            <td data-label="Condition Criteria or Input Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1112 ">All conditions are met (AND)</td>

            <td data-label="Filter Criteria or Output Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1115 ">
              <ul>
                <li>Filter Criteria 1<ul>
                    <li>Resource: MemberTier (parameter)</li>
                    <li>Operator: Equals</li>
                    <li>Type: Fixed Value</li>
                    <li>Value: Silver</li>
                  </ul>
                </li>

                <li>Filter Criteria 2<ul>
                    <li>Resource: TransactionJournal &gt;Product &gt; Name</li>
                    <li>Operator: Equals</li>
                    <li>Type: Fixed Value</li>
                    <li>Value: Super Kicks</li>
                  </ul>
                </li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Step Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1103 ">Assign Parameter Values action</td>

            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1106 ">Assign Voucher Value for Silver Tier Members</td>

            <td data-label="Parent Step" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1109 ">Filter Only Silver Tier Members</td>

            <td data-label="Condition Criteria or Input Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1112 ">
              <ul>
                <li>Parameter: VoucherValue</li>

                <li>Operator: Equals</li>

                <li>Value: 10</li>

              </ul>
            </td>

            <td data-label="Filter Criteria or Output Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1115 ">—</td>

          </tr>
          <tr class="">
            <td data-label="Step Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1103 ">Condition</td>

            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1106 ">Filter Only Gold Tier Members</td>

            <td data-label="Parent Step" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1109 ">—</td>

            <td data-label="Condition Criteria or Input Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1112 ">All conditions are met (AND)</td>

            <td data-label="Filter Criteria or Output Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1115 ">
              <ul>
                <li>Filter Criteria 1<ul>
                    <li>Resource: MemberTier (parameter)</li>
                    <li>Operator: Equals</li>
                    <li>Type: Fixed Value</li>
                    <li>Value: Gold</li>
                  </ul>
                </li>

                <li>Filter Criteria 2<ul>
                    <li>Resource: TransactionJournal &gt;Product &gt; Name</li>
                    <li>Operator: Equals</li>
                    <li>Type: Fixed Value</li>
                    <li>Value: Super Kicks</li>
                  </ul>
                </li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Step Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1103 ">Assign Parameter Values action</td>

            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1106 ">Assign Voucher Value for Gold Tier Members</td>

            <td data-label="Parent Step" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1109 ">Filter Only Gold Tier Members</td>

            <td data-label="Condition Criteria or Input Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1112 ">
              <ul>
                <li>Parameter: VoucherValue</li>

                <li>Operator: Equals</li>

                <li>Value: 15</li>

              </ul>
            </td>

            <td data-label="Filter Criteria or Output Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1115 ">—</td>

          </tr>
          <tr class="">
            <td data-label="Step Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1103 ">Condition</td>

            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1106 ">Filter Only Platinum Tier Members</td>

            <td data-label="Parent Step" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1109 ">—</td>

            <td data-label="Condition Criteria or Input Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1112 ">All conditions are met (AND)</td>

            <td data-label="Filter Criteria or Output Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1115 ">
              <ul>
                <li>Filter Criteria 1<ul>
                    <li>Resource: MemberTier (parameter)</li>
                    <li>Operator: Equals</li>
                    <li>Type: Fixed Value</li>
                    <li>Value: Platinum</li>
                  </ul>
                </li>

                <li>Filter Criteria 2<ul>
                    <li>Resource: TransactionJournal &gt;Product &gt; Name</li>
                    <li>Operator: Equals</li>
                    <li>Type: Fixed Value</li>
                    <li>Value: Super Kicks</li>
                  </ul>
                </li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Step Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1103 ">Assign Parameter Values action</td>

            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1106 ">Assign Voucher Value for Platinum Tier Members</td>

            <td data-label="Parent Step" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1109 ">Filter Only Platinum Tier Members</td>

            <td data-label="Condition Criteria or Input Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1112 ">
              <ul>
                <li>Parameter: VoucherValue</li>

                <li>Operator: Equals</li>

                <li>Value: 25</li>

              </ul>
            </td>

            <td data-label="Filter Criteria or Output Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1115 ">—</td>

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

Step 3: Issue Vouchers to Eligible Members

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:20%">
          <col style="width:20%">
          <col style="width:20%">
          <col style="width:20%">
          <col style="width:20%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e1373">Step Type</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e1376">Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e1379">Parent Step</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e1382">Input Field Values</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6650e1385">Output Field Values</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Step Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1373 ">Issue Voucher action</td>

            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1376 ">Issue Voucher to Members</td>

            <td data-label="Parent Step" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1379 ">—</td>

            <td data-label="Input Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1382 ">
              <ul>
                <li>Voucher Definition: Super Kicks Discount</li>

                <li>Voucher Code: VoucherCode (parameter)</li>

                <li>Voucher Value: VoucherValue (parameter)</li>

              </ul>
            </td>

            <td data-label="Output Field Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d6650e1385 ">—</td>

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

![Complete view of the second rule.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-loyalty_management-264-0-0-production-enus/0590ce3e-5a09-45ab-8e5e-68f359c35886/loyalty_management/images/promotion_setup_example_one_rule_two.png)