Debugging Flows
- How to use the Flow Debugger
- How to enable and use Debug Logs
There are two ways you can debug your flows:
- Use the built-in Flow Debugger (easiest).
- Use the Salesforce Debug Log (harder to interpret the results).
Flow Debugger
To use the Flow Debugger, simply save and activate your flow and then click the Debug button.If your flow needs an input value (eg recordId) then we can get the ID of a record from the URL when we have one of those records displayed.
In this example we need a contact ID:
Paste that record ID into the flow:
In the debugger, we can see that the recordId we pasted in is being used:
Once we select subflow1 and click next, we can see that the debugger show subflow1 was selected:
Salesforce Debug Log
About 95% of your debugging requirements will be met by using the Flow Debugger.If you need finer grained logs, the Salesforce Debug Log function can be helpful but it can generate a lot of information that is hard to understand!
Debugging Flows
Subscribe to:
Posts (Atom)
No comments:
Post a Comment