Debugging and monitoring the process

Logs are used to record error and backend processes that are running in the organization. They store the following process information:

  • Workflow and approval processes
  • Assignment rules
  • Escalation rules
  • Auto-response rules
  • Apex Script errors
  • Resources used by Apex Script

Types of logs

There are two types of logs:

  • Debug logs
  • System logs

The debug log

We use the debug log to debug and troubleshoot workflows and approval.

Debug logs are stored separately and can be retained. They are stored on the basis of particular users only. We can download, view, and manage the debug log for users when Debug Logs are enabled for a user from the Setup menu. The next 20 actions will be logged, each resulting in a log file. An action may ...

Get Salesforce Platform App Builder Certification Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.