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.

Catalog item functional Req

Rajesh77
Tera Contributor

Hi team,

I have created a catalog item with few variable like asset management,tag,API,group,connector

when i select asset management user name is not mandatory but its visible, 

when i select group management group management have create,delete, change, when i select create user name should not visible, and fir others it should be visible

If i select tag Management & others the user name should not be visible, but for me its showing visible 

Rajesh77_0-1707737038625.png

UI policy is given below

Rajesh77_2-1707737108461.png

 

this is catalog client script i have written 

g_form.setDisplay('User name.user_name',false);
still it is not working 
 
what i need now is when i select Tag management & Others the user name should not be visible 
 
17 REPLIES 17

Please see the below

 

Rajesh77_0-1707749422426.pngRajesh77_1-1707749451284.pngRajesh77_2-1707749484508.pngRajesh77_3-1707749518704.pngRajesh77_4-1707749549771.pngRajesh77_5-1707749590024.pngRajesh77_6-1707749615158.pngRajesh77_7-1707749635950.png

Rajesh77_8-1707749665944.png

 

Community Alums
Not applicable

Hi, UI Policies are funny if you have more than one it doesnt like it.

You need a single client script or UI policy which covers it.

If you do have the one, try configuring it so it runs on "Is not", for example,

UI Polocy
please_select_the_type... is not Tag Management 

UI Policy action
user_name: Read Only: True, Visible: True

Please mark as helpful or if its resolved the issue, correct!


still its not working