Loading

Loyalty Rule engine always executes action by action in case of single or bulk Transaction Journals.

Date de publication: Apr 29, 2026
Description

Sequence of Processing Transactions

The steps of a rule process a transaction in the sequence in which they’re saved. If a rule has two actions, the first action in the sequence processes the transaction first. After the first action completes processing the transaction journal, the second action starts to process the transaction journal.

When a rule has multiple parent steps and each parent step has child steps, the first parent step and its child steps process the transaction journal. The child steps also process the transaction journal in the sequence in which they’re saved. After all the child steps of a parent step have competed processing the transaction journal, the next parent step in the sequence starts to process the transaction journal.

When processing bulk transactions (for eg 2 TJs)  in a single call as well, the rule engine executes all the 2 transaction journals for first action in the rule and then after completing first action for 2 TJs present in the call, it will move to the second action in the process rule and processes the second action for the 2 TJs.

Résolution

1. Understand that the Loyalty Rule Engine processes actions sequentially for all TJs in a single request.

2. Each action is executed across all TJs before moving to the next action. 

3. Consider redesigning your rules to avoid discrepancies caused by the sequential processing of multiple TJs. 

4. Refer to the Salesforce documentation on Rule Engine design for further understanding: https://help.salesforce.com/s/articleView?id=xcloud.promotion_setup_rule_design.htm&type=5.

Ressources supplémentaires

Add Conditions and Actions to a Rule

 

Numéro d’article de la base de connaissances

005321493

 
Chargement
Salesforce Help | Article