Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

What is Advanced scripting of UI rule conditions?

Ramon Cordova
Tera Contributor

Hi all!

 

I was exploring the new mobile pop-ups in my PDI and came across this new section:

RamonCordova_0-1710561474387.png

RamonCordova_1-1710561625873.png

I am really interested in learning more about this, but I can't find any docs.

 

I appreciate any direction or knowledge that you can share with me about this feature. Thanks!

1 ACCEPTED SOLUTION

James Chun
Kilo Patron

Hi @Ramon Cordova,

 

I wasn't able to find too much but I did see that particular configuration is stored in the Card [sys_sg_view_config] table. There is a screenshot in the link below where the 'Mobile Scratchpad Script' is used.

https://docs.servicenow.com/bundle/washingtondc-mobile/page/administer/tablet-mobile-ui/task/create-...

It looks like it's used to set some variables that are evaluated in the UI Rule condition.

 

Hope it helps, cheers

View solution in original post

2 REPLIES 2

James Chun
Kilo Patron

Hi @Ramon Cordova,

 

I wasn't able to find too much but I did see that particular configuration is stored in the Card [sys_sg_view_config] table. There is a screenshot in the link below where the 'Mobile Scratchpad Script' is used.

https://docs.servicenow.com/bundle/washingtondc-mobile/page/administer/tablet-mobile-ui/task/create-...

It looks like it's used to set some variables that are evaluated in the UI Rule condition.

 

Hope it helps, cheers

Ramon Cordova
Tera Contributor

Hi @James Chun 

 

It makes sense. I wanted to see an example like this:

RamonCordova_0-1710967984355.png

To understand how it is used:

RamonCordova_1-1710968026679.png

This is very helpful, thank you!