Calculate Promotions
The system calculates promotions by using a nightly batch process (batch calculation).
Required Editions
Available in: Lightning Experience Available in: Enterprise and Unlimited Editions where Consumer Goods Cloud is enabled |
The system performs a live calculation every time a promotion is saved.
Batch calculation happens when the system executes the nightly calculation batch. The batch process initially calculates the promotion and considers KPI maps to update these values. After this calculation is completed, the next job takes the updated records and syncs them.
In both cases, the system adds the promotions to a calculation queue. A calculation worker that listens to the queue picks the jobs and processes them out of the queue. To reduce the waiting period of promotion calculation and to improve performance, the application provides these calculation queues:
- Worker Calculation Queues (Process Queues): Use these dynamic queues for the nightly calculation of promotions. For each sales org cluster, the system creates one process queue.
- Object Queues: You can also use these dynamic queues for the nightly calculation of promotions. However, the system creates these queues for every unique combination of sales org, job name, and promotion template.
- Live Calculation Queue: Use this permanent queue for asynchronous write-back of promotions for all sales org clusters.
The schedule promotion calculation endpoint loads the cache with eligible promotions for nightly calculation of promotions. The system sends a message to the process queue (with the promotion IDs) to create and fill object queues. The calculation worker for the sales org cluster then processes each promotion in the object queue.
- Run Your Batch Processes
After you schedule a batch process, you can run it. - Configure Your Batch Processes
You can specify the custom settings that control the automatic scheduling of batch processes. - Schedule Your Batch Processes
This section describes the sales org-dependent scheduling of available batch processes such as Promotion Loader and Customer Segmentation. This scheduling process includes configuring Custom Settings, which is a one-time activity for each worker. - View the Status of Your Batch Run
Use this page to view the status of server batch processes and monitor the processes. The status is available only if you enabled the monitoring process in Processing Services. - Create a Multi-Level Promotion Plan
Create promotions at higher levels in the customer hierarchy and push them to customers at lower planning levels at one go.

