Logs

The Logs tab contains the events that occur while processing records in the background. You can use the Logs tab to monitor background processes such as creating billing documents for several contracts.

Depending on how your org is set up, you might receive a notification or an email when a background process is complete. The notification or email provides access to the logs created during the process.

Queueable Apex or Batch Apex

Depending on the value of the Use Queueable custom fields in the Background Process Settings custom setting, the Logs tab records events that occur during Batch Apex or Queueable Apex jobs for background Billing Central processes. For information about changing this, see Background Process Settings and Background Processes.

If using Queueable Apex, a scheduled job check runs at the interval set in the Job Check Interval field in the Background Settings custom setting. See Job Check Interval. Logs are created for the background Billing Central process that is currently running. If an entire background process fails, errors are logged against the record on which the errors occurred. The records that failed are retried one by one.

If using Batch Apex, a single Batch Apex job is created. If validation errors occur while that job is running, the job is retried once, however records that exceed Salesforce limits are not retried.

You can schedule a job to delete old logs and jobs.

Note:

Some processes such as the billing schedule creation process currently only use Queueable Apex.