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

Archana Reddy2
Tera Guru
Hi Muktha, Check the 'on Load' field on your UI Policy. If it is true, the UI Policy runs on page load and if it is false, the policy runs when you make selection on the select box. Hope this helps! Thanks, Archana

Hi Archana,

 

 I tried but the label and the checkboxes are getting displayed whether on load is true or false.

 

If I write individual UI policies for each of the check box variables which should not be the case , they are hidden till I select an option. But the label appears all the time 

If I remove the UI policies from the checkboxes, the label and checkboxes appear together unmindful of the UI policy written for the label.Please guide me.

 

Thanks

Hi,

Is your 'Reverse if false' true/false?

'Reverse if false'   is true