Duplicate Error Message occurence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2024 08:31 AM - edited ‎01-22-2024 09:07 AM
Hello All,
I am facing something unusual in my error message where duplicate error message comes in one scenario whereas no duplicate message in other scenario while using Data Policy. I was working on a requirement such that work notes to be always mandatory whenever my catalog task state changes to "Pending". So I wrote a data policy to restrict from list view also such that when a user changes the sc task state to pending from list view my data policy will work and restrcict updating. I also selected "Use as UI Policy on client" so it will work on my form as well.
Unexpected scenario:
The unusual thing I am facing from my data policy is when I open my tasks lists in same page where my filter navigator option will be present I am getting two error message when I tried to change the state of task to pending. Attached image for reference
Image 1: In below image I am opening my sc task list in same page where my filter navigator option will be present that time two error messages are coming.....
Expected Scenario:
The same tasks list when I open in a new tab(Not the same page where my filter navigator I will not be bale to see) that time I am getting only one error message from data policy when I try to change the state of task to pending .Attached Image for reference
Image2:
In below image I am opening my sc task list in new tab where error message comes only one time
I am not understanding why this is happening . if anyone has faced similar situation earlier please share your inputs. I am trying to resolve but not getting it..Stuck in this. Can anyone please guide me on this. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2024 04:03 AM
NOt 100% sure, but use UI policy oncelledit instead of Data Policy.
@Anurag Tripathi @Jaspal Singh
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************