Debug Logs in Guided Workflows

Updated 

​The Debug Logs in Guided Workflows help you find out why a Guided Workflow failed during execution. You can directly see where the issue happened, check the error details, and fix it. This makes it easier and faster to test and improve your workflows.

Currently, the Debug Logs capability is available for the following Nodes and Components:

  • Screen Nodes

  • Update Properties

  • Decision Box

  • Add API

  • Custom Field Actions

  • Secure Screen

  • Add Notes

The following image captures how logs are displayed on the UI.

Note: Access to this feature is controlled by the dynamic property.

  • PROCESS_EXECUTION_HISTORY_RECORD_ENABLED_FLAVOURS - SET DP, should have GUIDED_PATHS as one of its values.

  • GW_DEBUG_LOG_ENABLED → UI DP, Boolean dp, value as true

To enable this feature in your environment, contact your Success Manager. Alternatively, you can submit a request at tickets@sprinklr.com.

Key Benefits

  1. Rapid Issue Detection – Quickly pinpoint the specific node where the workflow encounters a failure, all without the need to switch between tools.

  2. Swift Resolutions – Access error details and modify the workflow directly from the canvas, enabling faster issue resolution.

  3. Enhanced Testing – Simplify quality assurance and validation by making the debugging process more intuitive and efficient.

  4. Standardized Error Codes - Unique codes added to error messages for faster resolution and easier referencing.

  5. Full Error Context - Logs now include complete error messages to assist with root cause analysis.

  6. Descriptive and Categorized Error Messages - Better differentiation between error types such as:

    • Groovy parsing issues

    • Null or missing variables

    • Configuration mismatches

Steps to Access Debug Logs

  1. Whenever you execute a Guided Workflow either from the Guided Workflow Manager or Guided Workflow Canvas, it opens in the quick window.

  2. If the execution fails, an error warning will be displayed in the opened third pane view.

  3. If you want to understand the reason for the execution failure, click the Debug Logs icon on the top bar of the quick window.

  4. The debug logs will open up on the left side of the window. On the node where the guided workflow has broken will be displayed as a red card.

  5. To get a detailed view, hover over the respective card and click View Node.

  6. You will be directed to the node where the Guided Workflow is breaking, and that node will get highlighted in blue.

  7. You can make the required edits to your Guided Workflow.