You can use Debug Logs to troubleshoot Salesforce Workflow Rules when a rule does not trigger as expected, or when you need to understand the sequence in which multiple workflows execute.
Debug Logs are useful in the following scenarios:
Debug Logs capture all Salesforce automation activity triggered during a record save operation in the user interface. To troubleshoot a Workflow Rule, start by creating a Debug Log for the user who is performing the action.
In Salesforce Classic:
In Lightning Experience:
Note: Debug Logs only capture actions performed in the UI after the Save button is clicked.
When a Workflow Rule is evaluated, the log contains an entry in the following format:|WF_CRITERIA_BEGIN|[ObjectName Record Name RecordID]|WorkflowRuleName|WorkflowRuleNameID|ON_ALL_CHANGES|WF_FORMULA|Criteria|WF_CRITERIA_END|falseWF_ACTION| Field Update: 2
Use the log to determine:
If you have a Workflow Rule field update that should set the Opportunity Stage to "Closed Won" but the Stage is instead set to "Review", the log may show two separate WF_FIELD_UPDATE entries. This indicates two field updates are being triggered, and the second one is overwriting the first with a different value.
000387340

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.