
Description
This Node sends a debug message to the Interaction Panel. Debug messages help you track the flow of data and diagnose issues by providing real-time information about what’s happening during the Flow execution. To view the debug message, enable debug mode.Parameters
Parameter | Type | Description |
---|---|---|
Debug Level | Select | The Debug message level. Select one of the following options:
|
Header | CognigyScript | The header text of the debug message. This parameter is optional. Examples:
|
Message | CognigyScript | The message text of the debug message. This parameter is mandatory. Examples:
|
Examples
Info Message
Info Message
To show that the message relates to user’s actions, such as completing a task or making a selection, you can use the Debug Message Node with the header
User Action
.
It can be helpful when a user fills out an Adaptive Card form or clicks the Submit button in xApps to confirm an action.Error Message
Error Message
To show that the message relates to an error related to database operations,
use the Debug Message Node with the header
Database Error
.
It can be useful for tracking errors that occur during database requests. For example, it can help identify issues when using MongoDB Nodes.