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.

Ui policy not working on checkbox and label variable. Please help

muktha1
Tera Guru

I am using KIngston version. In our requirement, I have a select box variable with many options in a wizard. Wizard variables are the same as catalog variables.  On choosing one option , a label named system and 18 check boxes below it have to be made visible. But I am unable to achieve this via UI policy how much ever I try.  In servicenow Docs it is written , hiding the label hides all check boxes. But on load, the label and 18 checkboxes are visible for every option. Please help me to achieve this as it is urgent.

find_real_file.png

14 REPLIES 14

No Archana. I changed that to true. Yet it is displaying the same thing.

I  dont understand why it is not working. You said it is working for you when you tried. Am I missing anything?

 

I did not find anything missing. The only thing that you need to check is if there are any other UI policies or client scripts running for the same variables.

In demo instance no other client script or UI policy for these variables. I only created these variables for checking. Both in my work instance and demo instance I am encountering the same problem.

I saw that some people in the community have mentioned about the same problem but that was for earlier versions of SNOW. i wonder whether it will be persisting even in Kingston.

Not sure if there is problem with Widzard UI policies. I have tried this requirement in Record Producer and it worked well. Lets hope someone let us know what the problem is.

Hi Muktha,

 

Did you find the solution for this UI policy?

 

Thanks