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.

Example text dilemma

davidvetter
Tera Contributor

Hi all. I have 5 catalog items that represent t-shirt size projects (XS to XL). Each contains a variable set with the same fields for each catalog item. However, there are certain fields where example text needs to be different for each catalog item. For example, a field in a Small project for compute esxi says "2 PUnits each...max 20". But for a Medium, I need it to say "2 PUnits each...max 30"

 

How can I achieve this without having to use multiple variable sets just to display project size specific example text?

1 REPLY 1

AshishKM
Kilo Patron
Kilo Patron

Hi @davidvetter , 

You can hide fields based on catalog items.

So create a variable set with fields which required by all 5 variable set, later in each catalog item write UI Policy/UI Policy Action and mark visible = false on those fields which not required on that catalog item.

 

-Thanks,

AshishKM


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution