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 access variables in the catalog client script that is applied to a variable set?

Gintarevvv
Mega Guru

I need to access a variable that is not part of the variable set,  g_form.getValue('field_name') not working.

1 ACCEPTED SOLUTION
3 REPLIES 3

Ubada Barmawar
Giga Guru

hi 

 

is your client script running on catalog item or on a variable set?

Gintarevvv
Mega Guru

Hello, it is running on the variable set, but "included in" is not missing. It is used in a catalog item, which holds a particular value. However, I need to retrieve it from a variable set script.