Making a field mandatory after it is assigned to a particular team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11 hours ago
I need to make fields mandatory after the ticket is assigned to a particular team. Basically the assigned to person needs to fill them.
How do I do it, also I want that the mandatory(*) symbol is visible on the fields.
I have tried UI policy and Data policy but does not do the job.
Condition applied is :
Assignment Group is X and Assigned is empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10 hours ago
Hi there @Rachael12
You can do this via UI policy
- Table: your ticket table (e.g., Incident)
- Condition:
Assignment Group = the groupp - On load: check this
UI Policy Actions:
For each field:
- Mandatory = true
- Visible = true (if needed)
This should work.
Kind Regards,
Azar
Serivenow Rising Star ⭐
Developer @ KPMG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago - last edited 3 hours ago
Hi @Rachael12
Option 1: Using UI Policy (Recommended)
- Navigate to the form (e.g., Incident).
- Right-click the header and select Configure > UI Policies.
- Click New.
- Set Condition: Assignment group is <Your Team>
- Check Reverse if false .
- Save the record.
- In the UI Policy Actions related list, click New.
- Select the Field name you want to make mandatory.
- Set Mandatory to True
Option 2: Using Data Policy
- Navigate to System Definition > Data Policies.
- Click New.
- Set the Table (e.g., Incident) and Condition: Assignment group is <Your Team>
- Save the record.
- In Data Policy Rules, select the field and set Mandatory to True
Note: If these options are not working , Check existing UI policy , Data policy - it might be conflicting.
Debug it .
