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

Execution order of scripts


Scripts in the ServiceNow platform are executed in the following order:

  • Before business rules: Business rule scripts, with an order less than 1,000, configured to execute before the database operation
  • Before engines: Workflow, approval, and other engines
  • Before business rules: Scripts configured to execute before the database operation but with an order greater than or equal to 1,000
  • Database operation: Insert, update, delete, or query operation
  • After business rules: Scripts with an order less than 1,000 configured to execute after the database operation
  • After engines: Text indexing and workflow engines (for deferred workflows)
  • E-mail notifications: Notifications sent on an insert, update, or delete and event-based notification executed based on the order
  • After business rules: Any scripts with an order greater than or equal to 1,000 and configured to execute after the database operation