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

Field Watcher


The Field Watcher window, which is available as a tab in the JavaScript Log and Field Watcher window, is useful to monitor changes to values of a particular field when server-side or client-side scripts perform any action. To watch a field, as shown in the following screenshot, we can right-click on the field label in the form and select Watch Field:

The Field Watcher window will automatically show up, if it is not already active, when we watch a field:

The Field Watcher window can help monitor changes to the field from the following artifacts:

  • ACL
  • Business rule
  • Client script
  • Data lookup
  • Data policy
  • UI action
  • UI policy
  • Workflow activity
  • Reference qualifier

When we submit the form, if an ACL or business rule will act on the field or modify its value, we can see those details in the Field Watcher window as shown in the following screenshot:

In the preceding screenshot, Field Watcher is informing us that the value received from the form was 2017-05-22 and the ACL entries are providing the...