facing issue with Ui Policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 11:11 PM
Hi Team ,
under closure information , I have created 2 custom fields . please check screenshot .
when we click on ' COMPLETE' or States changes to ' closed ' these two custom become mandatory .
I have created UI Policy for this ,
But it is not working
can anyone please help me here ... what was the mistake here . please provide steps .
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 11:53 PM
Hi @nameisnani,
You need to write this script here.
Thank you, please make helpful if you accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2024 12:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2024 12:56 AM - edited 07-10-2024 01:02 AM
Hi @nameisnani
I can see your UI policy is not Active.
Once making it active, select the Script tab near When to apply.
Then check the Run Script check box under which you will be able to write the script.
Please make helpful if you accept the solution.
Thanks
Sanjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2024 03:16 AM
Can you stop posting the same questions several times. People are giving you the same answers others have already given, without them knowing what you did or didn't try. You are not just wasting your own time and will loose track of the answers, but also of the people that are spending their own time to help you.
If for any reason you want to post the exact same question again, because you aren't getting anywhere, close the previous one and add the already given (not working) solutions to the new question so there is a clear overview of what already was done.
https://www.servicenow.com/community/developer-forum/facing-issue-with-ui-policy/td-p/2985667
https://www.servicenow.com/community/developer-forum/ui-plocy-is-not-working/td-p/2985805
https://www.servicenow.com/community/developer-forum/1-ui-plocy-is-not-working/td-p/2987070
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark