Steps to Schedule a Data Processing Batch Overview
The opt-out analysis, compliance enforcement stats, and agent productivity dashboards can be updated daily or monthly depending on the schedule of a ComplianceDashboardScheduler from Salesforce ‘Schedule Apex’ in the setup of your org.
Below are the steps to schedule a consent compliance & opt-out analysis:
- Go to the ‘Setup’ section
![](https://www.sms-magic.com/docs/salesforce/wp-content/uploads/sites/2/2020/07/Schedule-data-processing-batch-1-1024x576.png)
- Search for ‘Apex Classes’
![](https://www.sms-magic.com/docs/salesforce/wp-content/uploads/sites/2/2020/07/Schedule-data-processing-batch-2-1024x576.png)
- Click on the ‘Schedule Apex’ button
![](https://www.sms-magic.com/docs/salesforce/wp-content/uploads/sites/2/2020/07/Schedule-data-processing-batch-3-1024x576.png)
- Fill the required data and click on the ‘Search’ icon (you can give any name to Job Name)
![](https://www.sms-magic.com/docs/salesforce/wp-content/uploads/sites/2/2020/07/Schedule-data-processing-batch-4-1024x576.png)
- Select ‘ComplianceDashboardScheduler’ from the list
![](https://www.sms-magic.com/docs/salesforce/wp-content/uploads/sites/2/2020/07/Schedule-data-processing-batch-5-1024x472.png)
- Select Frequency (Weekly / Monthly)
- Select the start date, and end date in respective fields from the date calendar
![](https://www.sms-magic.com/docs/salesforce/wp-content/uploads/sites/2/2020/07/Schedule-data-processing-batch-6-1024x576.png)
- Select the preferred start time (time when you want to update the Dashboard)
![](https://www.sms-magic.com/docs/salesforce/wp-content/uploads/sites/2/2020/07/Schedule-data-processing-batch-7-1024x576.png)
- Click on the ‘Save’ button
![](https://www.sms-magic.com/docs/salesforce/wp-content/uploads/sites/2/2020/07/Schedule-data-processing-batch-8-1024x576.png)
- To check the status of batch execution, go to the ‘Setup’ menu
![](https://www.sms-magic.com/docs/salesforce/wp-content/uploads/sites/2/2020/07/Schedule-data-processing-batch-9-1024x576.png)
- Search for ‘Apex Jobs’
![](https://www.sms-magic.com/docs/salesforce/wp-content/uploads/sites/2/2020/07/Schedule-data-processing-batch-10-1024x488.png)
- Check for the Status of Jobs. (Status indicates batch is executed or not)
![](https://www.sms-magic.com/docs/salesforce/wp-content/uploads/sites/2/2020/07/Schedule-data-processing-batch-11-1024x449.png)