---
schema_version: "1"
id: 2058353848022041f6b8f36cf4bad1633bea10f2e2cd7bfd6716cfb0ba1f223c
title: Set Up Loyalty Program Processes and Actions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/loyalty_activity_mixed_expiration_set_up_processes_actions.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.loyalty_activity_mixed_expiration_set_up_processes_actions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 97e643ef1672ceaa836936d377692b9e17366b8ec1aea70e294f08a9e5890c53
description: After you create currencies and their subtypes, create loyalty program processes or use invocable actions to credit and debit subcurrency points.
products:
  - Loyalty Management
release: "264"
---
# Set Up Loyalty Program Processes and Actions

After you create currencies and their subtypes, create loyalty program processes or use invocable actions to credit and debit subcurrency 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</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with Loyalty Management - Advanced</td></tr></tbody></table>

## Considerations

General

- You can credit and debit points only from subcurrencies. You can't use Base or Any.
- Loyalty Management processes an accrual cancellation only if the subcurrencies credited by the original transaction can be debited. For example, if an accrual credited points to subcurrencies S1 and S2, the cancellation is processed only if points can be debited across S1 and S2. If the combined balance of S1 and S2 is insufficient, Loyalty Management blocks the cancellation and returns an error.
- Loyalty Management processes a redemption cancellation by returning points to the exact balances consumed. For example, if a redemption consumed points from subcurrencies S1 and S2 with expiration dates E1 and E2, the cancellation restores those points to S1 and S2 with their original expiration dates.

Loyalty program process rule actions

- For activity-based expiration currencies, points are consumed based only on the debit sequence in the Debit Points process rule action.
- For fixed-duration expiration subcurrencies, points are consumed based on the sequence that's captured in the Debit Points process rule action. If multiple records match the sequence criteria, the system consumes the earliest-expiring records first based on their Loyalty Aggregated Point Expiration Ledger expiry date.
- You can't use a resource in Debit Points process rule action because these currencies require a subtype sequence at run time.

Other

- You can specify only one currency subtype in an invocable action request. If a request attempts to debit points from a subtype with an insufficient balance, the system returns an error.
- When you adjust or transfer points, you must also specify a subcurrency type. See [Adjust Points](https://help.salesforce.com/s/articleView?id=xcloud.adjust_points.htm&type=5&language=en_US).

## Set Up

To learn how to set up loyalty program processes and actions, see:

- [Create a Rule](https://help.salesforce.com/s/articleView?id=xcloud.loyalty_process_rule_builder.htm&language=en_US&type=5)
    - Debit Points action
    - Credit Points action
- Invocable actions:
    - [Credit Points](https://developer.salesforce.com/docs/atlas.en-us.loyalty.meta/loyalty/loyalty_actions_credit_points.htm)
    - [Debit Points](https://developer.salesforce.com/docs/atlas.en-us.loyalty.meta/loyalty/loyalty_actions_debit_points.htm)