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.

How to pass group name in UI page

kartikey
Tera Contributor

Hi everyone,

i'm updating one client script that is calling a UI page, i wonder how can i pass current assignment group name to the UI page HTML so that i can update the script written on UI page accordingly.
Could you please help me with the same?

Thanks,
Kartikey

1 REPLY 1

Kris Moncada
Kilo Sage

Hi @kartikey ,

 

One way is to pass information to a UI Page is through query string.  Here's a post to that helps illustrate this.

https://www.servicenow.com/community/developer-forum/passing-a-parameter-through-url-to-query-in-ui-...

 

From your UI Action, when redirecting, you'll then add parameters to the url that then can be read by jelly.

 

Hope this helps.