Skip to content

Batch Jobs

Roles:
Salesforce AdministratorDeveloper

Guided Selling uses Apex batches to process large volumes of records in smaller, manageable chunks. These batches automatically run critical sequence functions in the background.

Batch Jobs List

Job NameWhen it RunsPurpose
Cadence SchedulerRuns according to the Custom Setting called <Scheduler> Sequence schedule interval.Responsible for launching the Action Processing batch job.
Action ProcessingRuns according to the Custom Setting called <Scheduler> Sequence schedule interval. Runs every 30 minutes by default.Processes due Guided Selling actions.
Association ProcessingRuns immediately after action processing.Updates participant and association state.
Cleanup SchedulerRuns daily at 1am.Performs routine maintenance and cleanup.
Hourly Cleanup SchedulerRuns hourly.Verifies scheduling health and runs hourly maintenance tasks.
Dynamic Date ProcessingRuns hourly or daily, depending on configuration.Evaluates time-based entry conditions.
Converted Lead CleanupRuns during cleanup cycles.Removes or updates outdated converted lead records.
SequenceAssociationDripRuns daily at 1am.Processes queued sequence associations for Drip sequences.

Legacy Batch Jobs

These batches are deprecated and are not run in current Guided Selling releases. They are listed below for reference.

Job NameWhen it RunsPurpose
PerformLeadActionBatch
Deprecated in v13
Legacy batch job that runs every 30 minutes by default in older versions.Combined duties of Action Processing and Association Processing for Lead sequences
PerformContactActionBatch
Deprecated in v13
Legacy batch job that runs every 30 minutes by default in older versions.Combined duties of Action Processing and Association Processing for Contact sequences
PerformOpportunityActionBatch
Deprecated in v13
Legacy batch job that runs every 30 minutes by default in older versions.Combined duties of Action Processing and Association Processing for Opportunity sequences
PerformCampaignActionBatch
Deprecated in v13
Legacy batch job that runs every 30 minutes by default in older versions.Combined duties of Action Processing and Association Processing for Campaign sequences

Batch Schedule

The Action Processing and Association Processing Batches run at 30-minute intervals by default, and can be forced to execute or be skipped. If batches are still being processed at the time of the next job’s scheduled start, the next one will be aborted automatically which prevents duplicate batch jobs. The interval can be adjusted in SetupCustom SettingsGS_Public_SettingsSequence Schedule Interval.

Adjusting the schedule interval impacts processing time for certain batch processes. It is not recommended to make changes without first consulting with our Support team. The default settings are optimal in most Salesforce orgs, and should only be adjusted if there are performance concerns in Salesforce.

Disassociating Participants

Although participants are disassociated via triggers, there are instances where a participant (Lead or Contact) can be updated to meet a Sequence’s exit criteria by a user without access to the trigger or Guided Selling. One such scenario is when a non-sequence user updates a Lead or Contact. Since Sequence triggers don’t execute on non-Sequence user updates, the participant will not be exited from the Sequence in this case.

A batch process handles these cases by checking exit criteria during its scheduled runs.