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

Extending the configuration table

While ServiceNow comes with numerous CI class definitions and a proper hierarchy, we may have a requirement where we have to define our own CI class definition.

Let us suppose that in our organization, we use the Couchbase Database server as a data storage solution for one of the projects. We may want to ensure that Configuration Items relevant to Couchbase are stored in a proper table. We need to ensure that a proper class is defined in our configuration management application. The process to do this is very similar to creating a new table.

Before we proceed with creating a new class, we must figure out where the class will fit in the existing hierarchy of our ServiceNow CMDB classes. We are already aware that the Database Instance class exists in our CMDB; however, we need to confirm if the Couchbase Instance class exists or not. To confirm this, let us first list all the existing classes that extend the Database Instance class. Now we can open the Tables...