System diagnostics
Out of the box, Service-Now provides the system diagnostics module for troubleshooting, where you can debug business rules, SQL, security UI policy, data policy, and so on.
Getting ready
To step through this recipe, you should have an active Service-Now instance, valid credentials, and an admin role.
How to do it...
Open any standard web browser and type the instance address.
On the left-hand side, type
Debug
in the search box and Service-Now will search the System Diagnostics application for you, as shown here:To understand the debug better, you can open an incident from, as given here, by going to the Incident application:
Now go to Session Debug under System Diagnostics application and click on Enable All, as shown here:
You will now be able to see text, as given here, where you can see that Service-Now ran a script by clicking on Enable All:
Now you need to open the incident form again and you...