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

Notifications


Notifications can be scheduled to be autodelivered or sent when an event occurs. When an event is triggered, the GlideRecord object of the record that triggered the event is sent to the notification. This GlideRecord object is an important aspect of the event as it provides notification access to data fields available in the record, thus enabling developers to create dynamic e-mails with custom data fields. Before we create an e-mail action (notification), we will create an e-mail template.

The following steps show you how to create a new e-mail template:

  1. Open Studio and in the Create Application File wizard select Notifications | Email Template, as shown here, and click on the Create button:
  1. Fill in the new Email Template form with the following values:
    • Name: Booking Request Template
    • Travel: Booking Request
    • Subject: Travel Booking Request - ${number}
    • Message HTML: (As mentioned in the screenshot)
  1. Enter the following text in the MessageHTML field:
        Travel Booking Request  
...