Book Image

Learning ServiceNow. - Second Edition

5 (1)
Book Image

Learning ServiceNow. - Second Edition

5 (1)

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 (19 chapters)
Learning ServiceNow Second Edition
Contributors
Preface
Index

General debugging


In addition to what we've discussed in the preceding sections, some general debugging tips and principals should be applied in order to preserve the performance of your instance, and to make your debugging as efficient as possible.

One important principal of debugging, is of course to check whether your script even ran. If you have access to the script debugger, this is a simple matter of adding a breakpoint to the script and seeing if execution halts before or after the line with the breakpoint, then stepping through each line until you find the issue. If not, however, you may need to add an infoMessage or log statement to the script or code block which you want to know about. There is, however, another way, if you're checking the execution of a business rule. The System Diagnostics | Session Debug | Debug Business Rule module can be used. This will tell you when a given business rule loads, by preceding it with an arrow ==>, and when it completes execution with an arrow...