Async API Framework Settings

Some aspects of Accounting are controlled by custom settings. From Setup, click Develop | Custom Settings. You must be signed in with system administrator permissions to perform these tasks. See the Salesforce Help for information on how to maintain custom settings.

This custom setting controls the Asynchronous API Framework. It applies to the process run and process log records created by processes that use the framework, such as the Background Posting Scheduler, and to the async job records that the framework creates to track background jobs.

Fields marked for Certinia internal use only are maintained by Certinia. Do not change them unless Certinia Support asks you to.

This custom setting applies to the process run and process log records created by the Background Posting Scheduler processes that use the Asynchronous API Framework.

Async API Framework Settings

Field

Description

Default Value

Days to Keep Error Job Records The number of days that records of failed async jobs are kept before they are deleted. Worker jobs are an exception. Their failed job records are kept for one day regardless of this setting. 30
Days to Keep Process Run and Logs

Specifies the number of days that process runs and their associated process log records are kept before they are automatically deleted.

The default value is 90.

You can reduce the number of days that you keep records for to reduce your storage space requirements.

90
Days to Keep Success Job Records The number of days that records of successful async jobs are kept before they are deleted. Worker jobs are an exception. Their successful job records are kept for one hour regardless of this setting. 7
Dead Job Sweeper Enqueue Delay For Certinia internal use only. The delay in minutes before the Dead Job Sweeper is enqueued again. The minimum is one minute. A value of zero is ignored. 1
Is Test With Chain For Certinia internal use only. If selected, unit tests run with chained queueable jobs. True
Job Record Cleanup Time For Certinia internal use only. The date and time that async job records were last deleted. Null
Maximum Completed Job Records to Retain The maximum number of completed async job records that are retained. When this number is exceeded, the oldest records are deleted. 100000
Maximum Running System Jobs For Certinia internal use only. The maximum number of system jobs that can run at the same time. A negative value removes the limit. A value of zero prevents all jobs from running. User mode jobs and worker jobs are not affected. -1
Maximum Stalled Job Checks For Certinia internal use only. The number of times that a blocked job is checked by the monitor job and found not to have progressed before it is treated as failed. The minimum is 1. A value of zero is ignored. 10
Monitor Enqueue Attempts For Certinia internal use only. The number of times that the monitor job enqueues itself when it finds no jobs to process, before it stops. 10
Monitor Enqueue Delay Minutes For Certinia internal use only. The delay in minutes before the monitor job is enqueued again. The minimum is one minute. A value of zero is ignored. 1
Monitor Maximum Jobs Per Iteration For Certinia internal use only. The maximum number of pending jobs that the monitor job examines in each iteration. 25000
Pending Job Idle Limit For Certinia internal use only. The number of minutes that a job can remain idle before the monitor job treats it as stalled and enqueues it again. The minimum is one minute. A value of zero is ignored. 5
Note: Async job records are deleted automatically and do not require a scheduled job. The cleanup runs at most once every 24 hours. It deletes failed job records first, then successful job records, then any records above the maximum number retained. To disable one of these cleanups, enter a negative value in the corresponding field.