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.

How to get the value of the current assignment groups company in a client script?

will_forster
Tera Guru

Hi all,

 

Is there a way to get the value of the company of an assignment group on a form from a client script ?

1 ACCEPTED SOLUTION

Jaspal Singh
Mega Patron
Mega Patron

Hi Will,

Do you mean Assigned To person's Company? You need a combination of Script include & client script for it. Follow link

View solution in original post

10 REPLIES 10

Swetang
Tera Contributor

Best way to do this would be using GllideAjax & a script include. However , you can also use g_form.getReference() too.

Jaspal Singh
Mega Patron
Mega Patron

Hi Will,

Do you mean Assigned To person's Company? You need a combination of Script include & client script for it. Follow link

Hey Jaspal,

 

Thanks for the speedy response.

 

Well pretty much but just the assignment groups company instead.

is it possible from a field on a form ?