- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8 hours ago
Hi Community
I have an issue with a variable value in a flow, is there any easy way to see what value a variable is set to in a flow please?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
@AnthonyMull - In ServiceNow Flow Designer, there isn’t a built‑in “watch window” like you’d find in a traditional IDE, but there are a few easy ways to check what value a variable is holding while your flow runs:
Few Ways to See Variable Values
Use Log/Debug Actions
Add a Log action in your flow where you want to check the variable.
Output the variable value to the system logs.
Example: Log: Variable X = ${variable_name}.
You can then view this in System Logs > Application Logs.
Add a Notification Step
Temporarily add an Email or Slack notification step that sends the variable value to you.
This is useful if you want to see the value without digging into logs.
Use Flow Execution Details
After running the flow, open the Flow Execution Details from the Flow Designer.
Expand the step where the variable is used — you’ll see the inputs and outputs, including the variable values at that point.
Test with Scratchpad Variables
If you’re debugging complex logic, you can store values in a scratchpad or temporary field on a record, then check the record directly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
@AnthonyMull - In ServiceNow Flow Designer, there isn’t a built‑in “watch window” like you’d find in a traditional IDE, but there are a few easy ways to check what value a variable is holding while your flow runs:
Few Ways to See Variable Values
Use Log/Debug Actions
Add a Log action in your flow where you want to check the variable.
Output the variable value to the system logs.
Example: Log: Variable X = ${variable_name}.
You can then view this in System Logs > Application Logs.
Add a Notification Step
Temporarily add an Email or Slack notification step that sends the variable value to you.
This is useful if you want to see the value without digging into logs.
Use Flow Execution Details
After running the flow, open the Flow Execution Details from the Flow Designer.
Expand the step where the variable is used — you’ll see the inputs and outputs, including the variable values at that point.
Test with Scratchpad Variables
If you’re debugging complex logic, you can store values in a scratchpad or temporary field on a record, then check the record directly.
