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

Then, I found it all correct. I have tried the same in my instance as well and it worked perfect.

Can you share the variables list and the preview of Wizard.

I am sharing here what I tried in the demo instance. My work instance has too many variables for other options as well for the wizard and it will be quite confusiing. But only those variables for the option to be selected are check boxes. 

 

In the demo instance also I am facing the same problem with label and checkboxes.I have attacheda file here. Please help.

 

Thanks

Muktha

 

 

 

Is 'request' variable a multiple choice?

Can you show the preview of the wizard and ''request" variable's form as well?

Yes it is a multiple choice.  It is there in the document which I have attached.

 

  Since I just wanted to test whether the same problem occurs in the demo instance I added these variables to the existing wizard. On choosing critical only I want the below check boxes and label to appear. But it displays once I click on "Try it"

find_real_file.png

 

I saw in the attachment that 'onLoad' is false and please change that to true. It should work. Try it and let me know the result.