Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

gs.debug or gs.info in scripts is not logging

Cory B
Kilo Expert

Im using script step in flow designer to create actions.  However whenever I use gs to try to log, nothing gets logged. I tried using gs.log, gs.debug, and gs.info - none of them seem to work.  Please see the screen shots below of the script and test. Any idea whats going on here?

find_real_file.png

 

find_real_file.png

 

 

1 ACCEPTED SOLUTION

BALAJI40
Mega Sage

Hi,

Use gs.info() because it supports in all the scopes.

I think you have to check the system logs table.

View solution in original post

5 REPLIES 5

Hi Cory, if this answered your question please mark as correct so the thread can be closed. If you need additional help let me know.

 

Geoff