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

Chapter 6. Introduction to ServiceNow Scripting

So far, we have learned about tables, application scopes, modules, and forms. In this chapter, we will learn how to employ scripts to enhance standard features in ServiceNow.

As we already know, ServiceNow applications are data oriented and we can create different kind of modules to present this data. We can employ scripts to enhance our instance beyond standard configuration and features. We can create scripts to automate some tasks and improve standard system functionality. ServiceNow allows developers to create different types of scripts, each enhancing a different aspect of the platform. For example, we can create a transform map script to parse data imported from a CSV file and create a unique automated importing feature that validates data in multiple tables. Scripts in the ServiceNow platform either execute on the server side or the client side (web browser).

In this chapter, we will learn about the difference between server-side and client...