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 can you use Catalog Client Scripts against container variables?

MBarrott
Mega Sage

I wanted to build an onChange Catalog Client Script which would fire off a script whenever changes to questions within the container were made. 

 

I've manipulated every question within the container and I cannot see how the onChange part is triggered for a container. 

3 REPLIES 3

Brian Lancaster
Kilo Patron

What do you mean by container? Are you referring to a variable set?

Hi @Brian Lancaster,

 

I'm referring to the literal container that you can use within Catalog Builder. When creating a Catalog Client Script the container is a variable option when creating an onChange. 

All variables show up as available in an onChange client script. However since a container does not change you cannot use it. You have to use the client script against the variable that is changing.