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 ...

Get Mastering ServiceNow - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.