How to monitor Demandbase for Salesforce Apex Jobs.

  • Updated

What are Apex Jobs?

Within the Demandbase for Salesforce application, once you click "Save to Salesforce" Demandbase batches your audience into Apex Jobs. Those batches are then sent to Salesforce for processing.

NOTE: Batches are comprised of 100 accounts and their corresponding data from the audience.

How to confirm Save to Salesforce is working using Apex Jobs?

Once you have clicked "Save to Salesforce" you can verify everything is working as expected via the Apex Jobs.

1. Navigate to the gear icon and click "Setup".

(Lightning)

Screen_Shot_2020-03-24_at_4.06.18_PM.png

(Classic)

Click Setup

Screen_Shot_2020-03-24_at_4.07.33_PM.png

2. Use "Quick Find" to search for "Apex Jobs"

(Lightning)

Screen_Shot_2020-03-24_at_4.11.04_PM.png

(Classic)

Screen_Shot_2020-03-24_at_4.10.20_PM.png

3. When you click "Apex Jobs" you will see a list of Batch Jobs.

Screen_Shot_2020-03-24_at_5.04.37_PM.png
NOTE: We recommend creating a view to help cut through the noise.
You can create a view from this screen using the following settings.
Screen_Shot_2020-03-24_at_4.59.33_PM.png

1. Field - "Apex Class"

2. Operator - "contains"

3. Value - "AccountList"

Screen_Shot_2020-03-24_at_4.13.27_PM.png

4. After saving the view you should see the batch jobs and their statuses that were just created by your "Save to Salesforce"

Common Statuses - "Queueable, Processing, Holding, Completed"

Processing - Jobs that are currently running.

Screen_Shot_2020-03-24_at_4.22.32_PM.png

Holding -  Jobs that are submitted for execution but are not processed immediately by the system go in holding status.

Screen_Shot_2020-03-24_at_4.22.23_PM.png

 

Queued - Job which has not started yet will default the status of Queued.

NOTE: Apex Jobs are processed entirely by Salesforce utilizing shared resources at the time of the job creation. Since completion is determined by what resources are available Salesforce does not have an estimated time of completion nor do they guarantee a specific SLA for when the job will start and finish.

Was this article helpful?

0 out of 0 found this helpful