Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering ServiceNow

You're reading from   Mastering ServiceNow Unleash the full potential of ServiceNow from foundations to advanced functions, with this hands-on expert guide fully revised for the Helsinki version

Arrow left icon
Product type Paperback
Published in Oct 2016
Publisher Packt
ISBN-13 9781786465955
Length 656 pages
Edition 2nd Edition
Arrow right icon
Author (1):
Arrow left icon
Martin Wood Martin Wood
Author Profile Icon Martin Wood
Martin Wood
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. ServiceNow Foundations FREE CHAPTER 2. Developing Custom Applications 3. Server-Side Control 4. Client-Side Interaction 5. Getting Things Done with Tasks 6. Events, Notifications, and Reporting 7. Exchanging Data – Import Sets, Web Services, and other Integrations 8. Securing Applications and Data 9. Diagnosing ServiceNow – Knowing What Is Going On 10. Packaging with Applications, Update Sets, and Upgrades 11. Making ServiceNow Beautiful with Service Portal and Custom Interfaces

Including Jelly in the standard interface

Jelly is not reserved for building custom pages. Since the ServiceNow platform is built using the language, there are several places you can inject your own code to further control your instance.

Adding formatters

One of the simplest things to do with Jelly is to create a formatter. This provides a mechanism to include a UI Macro in a form. Navigate to System UI > Formatters to see the out-of-the-box items. There are several examples, including the process flow formatter, the activity log, and the variable editor placed on the ITSM tables, that show what is possible.

Let's cover a simple but useful example. This will run on the Maintenance form, making it more obvious when an SLA has been breached:

  1. Navigate to System UI > UI Macros, click on New, fill out the form as follows, and Save:
    • Name: check_breached_sla
    • XML: (Insert inside the provided template, on line 3)
      <j2:if test="$[!current.isNewRecord()]">
        <g2:evaluate>...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image