Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

ServiceNow Learning 78: Can we fetch the Display BR "g_scratchpad" values in UI Action in ServiceNow

Shamma Negi
Kilo Sage

Hi All,

 

I had a requirement wherein I have to fetch the value from display BR Business Rule which is to get the property value from below script:

 

gs.getProperty("<property_name>") and use it in the UI Action client-side scripting.

 

So, I created the property and the value in the property then I created a client callable UI Action which takes the value of the property using g_scratchpad variable.

 

Not sure, if it affects any performance. But I will keep monitoring it and put a performance related things.

 

 

Hope it helps.

I hope this article helpful. Please mark it as helpful and bookmark if you like it.

 

 

Regards,

Shamma

 

 

Regards,Shamma Negi
0 REPLIES 0