related list section shold be mandatory when state is resolved
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
My req is whenever state changes to resolved related list section fields called notes should be mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
ahoy @MahalakshmiN543,
could you provide a screenshot? Do you mean related list (bottom of a form) or section (somewhere in the middle).
You can make a field(s) mandatory, no need to adjust section (not sure if it is even possible) because the mandatory attribute is set on field level and can be adjusted from ACL, Data Policy or UI Policy (action)...
Provide more context for better siggestion
Where the rules are real, you'll find me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I agree with what @GlideFather mentioned
share some more details so that we can help better
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
Thanks for responding,i am attaching the screenshot for your reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
ahoy @MahalakshmiN543,
you can create Data policy with conditions - when Incident is in resolved state the two fields are mandatory.
Something like this:
And then when you Resolve your incident it will not be possible without populating the fields that you select.
It will be enforced for the new records and for the already resolved incidents, it will become mandatory additionally, it means that if you won't touch it, it will stay with empty mandatory field.
Altenratives:
you can also set the mandatory attribute from a client script but it wouldn't restrict the change in a list view so it is not the best method.
Another option is the ACL, it requires security admin (elevated) role.
Where the rules are real, you'll find me