Working with JavaScript logs

JavaScript, can run on the client side or on a browser, can use the Service-Now JavaScript log functionality.

Getting ready

To step through this recipe, you should have an active Service-Now instance and valid credentials with an admin role.

How to do it...

  1. Open any standard web browser and type the instance address.
  2. Log in to the instance using the credentials.
  3. Now click on the settings icon, select the Developer option, and turn on the JavaScript Log and Field Watcher options. A new pane will be opened at the bottom of the screen, where you need to select the JavaScript Log section:
    How to do it...

    JavaScript log screen

  4. If you want to log ...

Get ServiceNow Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.