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
About the Author
About the Reviewer
Customer Feedback
Free Chapter
Introduction to ServiceNow

Chapter 12. Debugging in ServiceNow

We have learned how to write client-side and server-side code, including client scripts, business rules, script includes, script actions, UI macros, and UI pages using Jelly, and we have also learned how to design workflows. While there are many different kinds of scripting features available in the platform, developers usually also require a set of tools and features to debug their code. The ServiceNow platform offers developers many different ways to debug, troubleshoot, and optimize their code.

Within the ServiceNow platform, we write both server-side and client-side code. The ways to troubleshoot them more or less remain the same but the approach differs. In this chapter, we will cover the many different troubleshooting and debugging techniques available within the platform. We will also cover some coding best practices and understand the flow and execution of the different available scripting options, including server-side scripts, client-side scripts...