Enabling the JavaScript Debugger

The debug log that shows the output of Business Rules is very useful to display what Business Rules are running and when. However, the JavaScript debugger also allows you to interact with the Business Rules, letting you set breakpoints and edit code on the fly. In addition, it shows the output of client-side JavaScript and features functionality that would enable you to see what is controlling the value of a field—on both the client side and the server side!

Controlling Business Rules on the fly

Let's use the JavaScript debugger to find the Maintenance assignment events Business Rule that we started looking at earlier:

  1. Activate the JavaScript debugger by clicking on the green bug icon in the system menu. This is accessible ...

Get Mastering ServiceNow now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.