Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Learning ServiceNow
  • Toc
  • feedback
Learning ServiceNow

Learning ServiceNow

4.3 (16)
close
Learning ServiceNow

Learning ServiceNow

4.3 (16)

Overview of this book

This book is an updated version of Learning ServiceNow, that will cover the new and updated features of the ServiceNow platform. It will show you how to put important ServiceNow features to work in the real world, while introducing key concepts via examples of managing and automating IT services. It'll help you build a solid foundation of knowledge, and will demonstrate how to effectively implement and configure modules within ServiceNow. We'll show you how to configure and administer your instance, and then move on to building strong user interfaces and creating powerful workflows. We also cover other key elements of ServiceNow, such as notifications, security, reporting, and custom development. You will learn how to improve and automate your business' workflow and processes. By the end of this book, you will be able to successfully configure and manage ServiceNow like a pro.
Table of Contents (17 chapters)
close
16
Index

Logging

Note

While there is a feature called session debug logging, this section is about the system log and how to use logging within scripts effectively for troubleshooting your code.

Logging is something that you can employ both server-side, and client-side. There are several useful logging API methods that can be employed for various purposes, and in different situations: info(), warn(), and error(), each with respectively higher levels of significance. These three types of logging methods are available both from the GlideSystem API (available within server-side scripts as the gs object) on the server, and from the console API on the client (For example, console.warn('message')).

An informational message (using gs.info() on the server, or console.info() on the client), is meant to inform a curious admin perusing the logs, of some important state information, or perhaps about successful execution and final state of a particularly complex script. This is especially useful when...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete