---
schema_version: "1"
id: b3deece1f4d5d13bc3efb7d67074c343fd15c5816e5f46e70f89b45e17cda6e8
title: Roll Over Escrow Points to Members
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/escrow_rollover_dpe.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.escrow_rollover_dpe.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f07dc15c655181fae52f9ce4a2db2bf1df8d16cb05683c7cc9b117c2b13b5517
description: The Roll Over Escrow Points to Members template definition automates the process of moving members' points in escrow to the members' points balance. This definition rolls over the points for all the currencies associated with a loyalty program.
products:
  - Loyalty Management
release: "264"
---
# Roll Over Escrow Points to Members

The Roll Over Escrow Points to Members template definition automates the process of moving members' points in escrow to the members' points balance. This definition rolls over the points for all the currencies associated with a loyalty program.

### 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>Unlimited</strong>, and&nbsp;<strong>Developer</strong>&nbsp;Editions</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Orgs that have the B2C - Loyalty, B2C - Loyalty Plus, B2B - Loyalty, Loyalty Management - Growth, or Loyalty Management - Advanced license enabled</td></tr></tbody></table>

The definition contains one input variable for specifying the loyalty program. When you run the definition using Flows, enter the name of the loyalty program that you want to roll over escrow points for the input variable value.

The template definition contains these nodes:

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:33.33333333333333%">
        <col style="width:33.33333333333333%">
        <col style="width:33.33333333333333%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d34466e78">Node Name</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d34466e81">Description</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d34466e84">Node Type</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">
            <ul>
              <li>Loyalty Ledger</li>

              <li>Loyalty Member Currency</li>

              <li>Loyalty Program</li>

              <li>Loyalty Program Currency</li>

            </ul>
          </td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Data sources used in the definition for calculating the number of points to roll over
            to each member and their currencies.</td>

          <td data-label="Node Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e84 ">Data Source</td>

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Add Loyalty Program Currency Type to Ledger</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Adds the loyalty program currency type to ledgers.</td>

          <td data-label="Node Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e84 ">Join</td>

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Add Loyalty Program Name to Ledger</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Adds the loyalty program name to ledgers.</td>

          <td data-label="Node Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e84 ">Join</td>

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Filter Accrued Escrow Points</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Filters ledgers that have accrued escrow points for the loyalty program.</td>

          <td data-label="Node Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e84 ">Filter</td>

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Escrow Points Accrued by Member</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Gets the current points balance from the Loyalty Member Currency record.</td>

          <td data-label="Node Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e84 ">Join</td>

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Compare Dates</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Compares dates to check whether ledgers were created after the last date for accrual
            processing.</td>

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

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Ledger Records For Aggregation</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Filters ledgers that were created after the last time that qualifying points were
            credited to members.</td>

          <td data-label="Node Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e84 ">Filter</td>

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Total Escrow Rollover Points</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Calculates the total escrow points for a member. These points are grouped by member and
            currency, and based on how activity date compares to last reset date.</td>

          <td data-label="Node Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e84 ">Group and Aggregate</td>

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Filter Debit Ledgers</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Filters debit type ledgers for aggregation.</td>

          <td data-label="Node Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e84 ">Filter</td>

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Filter Credit Ledgers</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Filters credit type ledgers for aggregation.</td>

          <td data-label="Node Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e84 ">Filter</td>

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Add Debit and Credit Ledgers</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Joins debit and credit ledgers for further aggregation.</td>

          <td data-label="Node Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e84 ">Join</td>

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Check Null for Escrow Fields</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Calculates the total points to roll over to the member.</td>

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

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Escrow Points Accrued Until Current Date</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Calculates the escrow points accrued by a member until the current date.</td>

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

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Total Escrow Points Accrued until Current Date</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">Calculates the total escrow points accrued by a member until the current date.</td>

          <td data-label="Node Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e84 ">Group and Aggregate</td>

        </tr>
        <tr class="">
          <td data-label="Node Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e78 ">Update Member Currency</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e81 ">
            <p>Updates the Total Escrow Rollover Points in the Loyalty Member Currency records along
              with Last Escrow Run Date.</p>
            <p style="margin-bottom:0;">For each associated currency, the member's points balance and
              escrow points balance are automatically updated after the definition is run.</p>
          </td>

          <td data-label="Node Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d34466e84 ">Writeback Object</td>

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