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

Data archiving

Similar to table rotation, the data archiving feature in the ServiceNow platform can also be used to improve query and reporting performance by moving old data from the primary table to a set of archive tables. Furthermore, a destroy rule can be set to permanently delete data after a specified period of time, which should only be used when you do not require historical data for auditing or reporting purposes. For example, we can define data archiving on the Booking Request table to archive records that are a year old and further, to destroy them after a period of two years.

When we set data archiving on a table, a new table with the same name and prefix ar_ is created. The data from the original data is flattened and stored in the archive table. For example, if we apply data archiving Booking Request table, then a new table comprising of fields from the base to the Booking Request table along with the parent task table will be created to store the archived data. All the reference...