Home > Aria6 User Documentation > Aria for Salesforce > Salesforce Connector 1.0 > Installation and Configuration > Configure Your Aria Salesforce.com Connector > Schedule Your Nightly Apex Jobs

Schedule Your Nightly Apex Jobs


There are four Apex jobs that you need to schedule in order to refresh new/changed Aria plan, account, and supplemental field data in Salesforce:

  • AriaClientPlanBatchSyncScheduler - refreshes your client plans.
  • AriaBatchAccountDetailsUpdaterScheduler - refreshes account details.
  • AriaBatchAcctSuppFieldsUpdaterScheduler - refreshes supplemental fields.
  • AriaBatchAccountPlansUpdaterScheduler - refreshes account plans.

Notes: The AriaClientPlanBatchSyncScheduler job takes approximately one hour to run. Be sure to schedule the three additional jobs listed above at least one hour after the job that refreshes your client plans.

The AriaClientPlanBatchSyncScheduler job imports master plans first, then services. You will initially see master plans in Salesforce, even though the associated services have not been imported. Be sure to wait until the job has been completed before trying to add a plan to an account.

Scheduling Your Nightly Apex Jobs

  1. Click Setup.
  2. Click Develop.
  3. Click Apex Classes.

schedule nightly apex1.png

  1. Click Schedule Apex.

schedule nightly apex2.png

  1. Enter a meaningful Job Name.
  2. Click on the search button to lookup the Apex Class.

schedule nightly apex3.png

  1. Click AriaClientPlanBatchSyncScheduler.

This job refreshes your client plans.

schedule nightly apex4.png

  1. Complete the remaining fields as described below:
  • Frequency: Select Weekly.
  • Recurs every week on: Select all of the days.
  • Start: Type in or select the date on which you want the job to start running.
  • End: Type in or select the date on which you want the job to stop running. You can make this date as far in the future as you want.
  • Preferred Start Time: Select the time at which the job should run every day. You should select a time that falls within off-peak hours.
  1. Click Save.

schedule nightly apex5.png

The job appears in your list of Apex classes as shown below.

schedule nightly apex6.png

  1. Repeat Steps 4-9 above for the other Apex classes.

To check the status of an Apex job: Click Setup on your user menu > MonitoringApex Jobs.

Last modified


This page has no custom tags.


This page has no classifications.