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

Jelly scripts

Before we create any artifacts, let us first learn a bit about Apache Jelly and how it is used within the ServiceNow platform.


Basic knowledge of XML is important for this chapter. Apache Jelly follows XML syntax, and thus any developer with prior knowledge of XML, HTML, XHTML, or JavaScript should be able to learn it quickly. The project homepage is located at

In the ServiceNow platform, Apache's Jelly syntax is used to render forms, lists, UI pages, and other elements in the browser. Jelly script is comprised of XML and HTML code. Jelly brings in its own set of XML tags, known as Jelly tags, using a specific XML namespace. ServiceNow has also implemented some extension to Jelly tags, referred to as Glide tags. The Jelly scripting is only used in UI macros and UI pages that run on the server. The Jelly code, which is mostly XML code, converts to HTML before it is sent to the browser.


When creating UI pages and other artifacts...