25.4.3 Debugging Business Process Logic
Use APEX debug tracing to investigate workflow and task errors.
When a business process encounters an error, use APEX debug tracing to learn more information about what went wrong.
- Querying Recent Debug Messages
Query recent debug messages to find workflow errors and related trace details. - Enabling Debug Tracing Proactively
Enable debug tracing from the Developer Toolbar or directly on a workflow version. - Viewing Debug Trace Information
View workflow debug traces by clearing page filters in the Debug Message Data window. - Adding Custom Debug Messages
Add custom debug messages withAPEX_DEBUG.INFOwhen needed.
Parent topic: Maintaining Workflow Processes