Priority scheduling for CRM Analytics recipes automatically manages your run queue. It
prioritizes smaller and faster runs while ensuring that larger and longer runs are completed on
time. Priority is automatically calculated based on factors such as historic runtime, dataset
input size, and CSV file size. Priority scheduling is most helpful to smooth out occasional
queue-time spikes. If you never or frequently see long queue times, then priority scheduling
isn’t as helpful. Activate the feature in advance to manage your queue, not during a problem
when your queue is already overloaded. This feature doesn’t increase your maximum number of
concurrent runs.
Required Editions
| Available in Salesforce Classic and Lightning Experience. |
| Available with CRM Analytics, which is available for an extra cost in
Enterprise, Performance, and Unlimited Editions. Also available in
Developer Edition.
|
For example, you schedule three recipes to run at the same
time. One is larger with more rows and runs for 30 minutes. The other two are smaller with
fewer rows and run for three minutes. The larger recipe’s run request arrives a millisecond
before the shorter requests. Without priority scheduling, requested runs are queued first
in, first out, so the smaller runs wait 30 minutes until the larger run finishes. With
priority scheduling, the smaller recipes execute first because of their shorter run time,
followed by the larger run. If higher-priority runs continue to queue in front of the longer
run, the queue temporarily switches to first in, first out an hour after the scheduled
request.
- From Setup, enter Analytics in the Quick Find box, then select
Settings.
- Select Use priority scheduling for recipe and dataflow
requests.
- Click Save.