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

Database structure

Like any other database-based application, information in ServiceNow instances is stored in structured and related tables, which consist of columns and rows of records. Tables can be related to each other in the following ways:

  • Extensions: A table in ServiceNow may extend an existing table (parent class), thereby ensuring that all of the fields of the parent class are included as part of the child table. For example, the Incident table extends the Task table, and thus the Incident table has all of the fields that are available in the Task table.
  • One to many: A table can consist of a field that refers to a record on another table. For example, the assigned to (assigned_to) field in the Incident record might contain a reference to a record in the users (sys_users) table. The Reference, Glide List, and Document ID field types can be added to create a one-to-many relation between two tables.
  • Many to many: Two tables can have a bidirectional relationship when they both refer to...