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.

Hidden Field in Catalog Item

thisisauniqueus
Giga Expert

Hi,

I have two Catalog Item sharing a single Workflow. I have added a hidden field in one of the Catalog Items based on which i am performing some calculations in the Workflow. The problem is that when i create a Requested Item from the Catalog Item that has the hidden field it appears in the "Variables" section

find_real_file.png

for the time being i have created an Onload client script that hides the hidden field on the form please suggest a better way or what i am doing is ok?

Regards

1 ACCEPTED SOLUTION

larstange
Mega Sage

A catalog onLoad client script or a catalog UI policy (either set to run on catalog items) are indeed the correct way of doing this.


View solution in original post

2 REPLIES 2

larstange
Mega Sage

A catalog onLoad client script or a catalog UI policy (either set to run on catalog items) are indeed the correct way of doing this.


Thanks Lars for your time.



Regards.