O'Reilly logo

Mastering ServiceNow - Second Edition 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 client side log

The debug log that shows the output of Business Rules is very useful to display which Business Rules are running and when. To help with the client-side, there is a basic JavaScript watcher lets you see output from Client Scripts.

Tip

The JavaScript debugger that was in previous versions of ServiceNow allowed you to edit Business Rules, set breakpoints, and inspect JavaScript variables during execution. This functionality has been removed in the Helsinki version, and will be revamped for the Istanbul release.

Seeing client-side messages

The alert box is probably the most often used way to display information. It's probably also the worst! It interrupts and distracts the user, and the message isn't stored or logged. ...

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