In Service catalog check box field mandtory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 08:02 PM
Hi Team ,
Can anyone please help me here ,
when ever ' Does the request incliude ....... ' is selected Yes . Then ' Select the data domain and check box has to be visible . how to acheive this .
I have written a UI policy which is not working as per my requirement
I haven't selected Yes , but label and checkbox are showing .
can anyone please help me here

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 01:22 AM
It's working in my PDI.
I've defined fields as below.
Defined UI Policy as below.
Execution result.
(1)When form loads.
(2) When "Yes" selected
(3) When "No" selected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 01:56 AM
This is the UI plociy i have written
I haven't selected YES
How label is visible ? I don't know ..

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 02:07 AM
@nameisnani Are you sure you don't have any other UI policy on the form?
From the field order number, it seems like there are many fields on the form.
Are you sure there isn't any Client Scripts on the form or if you're using Variable Sets, there isn't any Client Script on the Variable Sets?
Finally, I'm using Xandu release. From your screenshot, you seems to be using something different.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 02:11 AM
The data type I'm using for "Does the request include sensitive Data.." is Yes/No. By default, it doesn't include "None". I've check "Include none" to include it in the choice.
Are you doing something different?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 04:53 PM - edited 10-29-2024 04:56 PM
@nameisnani I got it. You're trying to make "Select the data Domains that requresed sensitive CDEs ..." mandatory when "Does the request include sensitive Data Elements?" is "Yes".
In this case, define fields are below.
(1)Make "Does the request .." field to be Mandatory while field "Customer Domain" (the first checkbox in the list) should not be Mandatory. I think you have Mandatory set to True that the reason it's appearing because Mandatory implies it has to be entered so ServiceNow will display all Mandatory fields.
(2)In the UI Policy, set "Visible" to True on the label and all the checkboxes. Also, set Mandatory to True on field "customer_domain".
Execution result:
(1) When form is first loaded
(2) When "Yes" is selected
(3) When "No" is selected