Mandatory field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2025 02:03 AM
Hello All ,
I have a mandatory field in a task of an item .
The fact is this field can only be filled after a treatment and often by another team .
Is it possible to set this field free during an assignment to a team and set it mandatory when we want to close the task ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2025 07:44 AM
Which table should i take for the UI policy ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2025 10:01 AM
Hi @KouassiP ,
How come i know your environment and the tables you are using? Are you using OOB tables or custom tables?
Regards,
Nikhil Bajaj
ServiceNow Rising Star-2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2025 07:39 AM
Could you please give me an example ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2025 07:47 AM - edited 09-12-2025 07:50 AM
Hi @KouassiP ,
Yes, you can achieve this with a UI Policy (client-side) or a Business Rule (server-side):
- Use a UI Policy so the field is optional normally but becomes mandatory when State = Closed.
- (Optional) Add a Before Business Rule to enforce the same when the record is updated through scripts/API.
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2025 07:52 AM
How can i do that ? the UI policy ... Which table should i take