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
Tera Guru

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.