- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2023 03:14 PM
Hello experts,
Hope you can help me with my query,
One of my flow designer action scripts is behaving differently and would like to print some variables and see what values I'm getting from them,
Please see the screenshot which I'm trying to print a log.
I was trying to use gs.debug / gs.info > no errors but couldn't find the values printed anywhere.
If you can guide me on what to use in the scripts (gs.debug / gs.info) and where can I see them once printed would be great.
Many thanks in advance.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2023 08:25 PM
Hi @Rajive ,
Use gs.info() because it supports in all the scopes.
You can also check the system logs.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2023 08:25 PM
Hi @Rajive ,
Use gs.info() because it supports in all the scopes.
You can also check the system logs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2023 09:01 PM
gs.log() won't work if your flow is not in global scope so you need to use gs.info()
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023 12:30 PM
Thank you Ankur and Sandeep, Issue resolved.
gs.info is being used and verified in the system logs. Many thanks for the help 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023 12:31 PM
Thank you Ankur and Sandeep, Issue resolved.
gs.info is being used and verified in the system logs. Many thanks for the help 🙂