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

Scripting in scoped applications


The OOTB ServiceNow platform comes preinstalled with many different types of scripts which are required for proper functioning of the platform. When we create a script, depending upon our application scope selection, it will become part of either the global or some private custom application scope. We have already covered the benefits of creating an application scope instead of directly creating custom features in the global scope.

Writing scripts for scoped applications enables us to associate scripts to specific applications and features. It enables us to easily manage feature updates and migration. When we create an application, depending upon the selected application scope picker, the script becomes part of that selected application.

As discussed in previous chapters, each private application scope has its own application namespace, which is in the format of x_[organization-code]_[app-id]. All artifacts, including scripts, tables, and roles, belonging to...