O'Reilly logo

Mastering ServiceNow by Martin Wood

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required