Book Image

ServiceNow Application Development

By : Sagar Gupta
Book Image

ServiceNow Application Development

By: Sagar Gupta

Overview of this book

ServiceNow provides service management for every department in the enterprise, including IT, Human Resources, Facilities, Field Service, and more. This book focuses on all the steps required to develop apps and workflows for any of your business requirements using ServiceNow. You will start with the first module, which covers the basics of ServiceNow and how applications are structured; how you can customize the dashboard as required; and also how to create users. After you get used to the dashboard, you will move on to the next module, Applications and Tables, where you will learn about working with different tables and how you can create a scope other than the global scope for your application. The next module is Scripting and APIs, where you will learn Scripting in ServiceNow and use powerful APIs to develop applications. The final module, Administration Essentials, covers debugging, advanced database features, and scheduled script creation. By the end of the book you will have mastered creating organized and customer-friendly applications
Table of Contents (21 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Free Chapter
1
Introduction to ServiceNow

Script Debugger


Script Debugger can be used to perform line-by-line debugging of server-side scripts such as business rules, script includes, script actions, or UI actions that are running in interactive mode. An interactive script is one that is being executed as part of page processing that will display some output to the end user.

For example, consider a script include which we intend to debug and have set a breakpoint in the code. If we submit a form that triggers a business rule, which in turn runs the script include, then the said script is in interactive mode because it is executed as part of an action that requires an output. On the other hand, if the same script include is called from a processing script that runs at a particular schedule, the debugging will not pause at the breakpoint because the script is not in interactive mode.

Launching Script Debugger

We can open Script Debugger for any server-side script by clicking on the Open Script Debugger icon on top of the script field...