Tuesday, November 3, 2015

How to debug the Business Rules or UI Action scripts in ServiceNow

Step1:
Where ever required put the gs.print() or gs.log() statements in the scripts

Step2 - From the SNOW wiki

System Diagnostics > Debug Log displays gs.print() and gs.log() statements as well as server logging information and error messages at the bottom of the content frame. This helps you avoid alternating between the record you are trying to debug and the log output.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.