What is the use of Jelly script and when, where to use ?

wakespirit
Kilo Guru

Dear all,

I am learning the scripting in ServiceNow which is new for me actually.
Inpsite of client scripting which is quite clear to me by using g_form, g_user object, in an other hand I have been pointed to Jelly script at some time.

What is the use of Jelly script ?

When to use it ?

How to use ?

Thanks for clarification and concrete sample

regards

1 ACCEPTED SOLUTION

Priyanka136
Mega Guru

Hi scal,

In Jelly , you can create multiple controls specific to jelly, use multiple conditional expressions etc. You can check the below link to find various tags and other uses in jelly.

https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/script/general-scripting/referen...

Check the 1st Episode of TechNow also:-

https://community.servicenow.com/community?id=community_blog&sys_id=f95da629dbd0dbc01dcaf3231f961903

Thanks,

Priyanka

 

 

 

 

View solution in original post

8 REPLIES 8

Priyanka136
Mega Guru

Hi scal,

In Jelly , you can create multiple controls specific to jelly, use multiple conditional expressions etc. You can check the below link to find various tags and other uses in jelly.

https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/script/general-scripting/referen...

Check the 1st Episode of TechNow also:-

https://community.servicenow.com/community?id=community_blog&sys_id=f95da629dbd0dbc01dcaf3231f961903

Thanks,

Priyanka

 

 

 

 

Priyanka136
Mega Guru

Hi scal,

If you found my answer worthy, Please close this thread and remove from unanswered list . So anyone can easily find out the answer.

Thanks in advance,

Priyanka

 

SwatiU
Tera Contributor

Jelly script in ServiceNow is used to build dynamic, server‑rendered UI components and support interface elements that are based on server‑side HTML generation. It is mainly used when working with UI Pages, UI Macros, formatters, or platform components that require dynamic content rendering on the server side.

RaghavaSakV
Tera Contributor
Jelly is an XML‑based scripting language used in ServiceNow to build or customize legacy UI elements like UI Pages, UI Macros, and parts of email templates.
Use it only when working with older server‑side UI components or maintaining existing functionality. For new development, prefer UI Builder or modern frameworks instead of Jelly.
Use Jelly only when you must build or maintain legacy server-rendered UI (e.g., UI Pages, UI Macros, some Email templates) in the classic UI. For new development, prefer Now Experience / UI Builder, Service Portal widgets, or standard configuration (UI Policies, Client Scripts, etc.). Jelly is considered legacy.