Unique Key Violation detected by Database error in service now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2022 04:31 AM
Hi guys,
I have a requirement to show, only HR cases, that belongs to the logged in user's assignment group.
I have create a before business query to achieve this
This is the main code.
This is working fine as per the requirement but a problem arises when a HR case got transferred.
When the logged in user transfers the case to some other HR service where his/her group is not in the assignment group, we get the following error " Unique Key Violation detected by Database error ". If I turned off the business rule there is no such error.
Can anyone kindly suggest me a better way to resolve this error and achieve the required business requirement.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2022 02:52 AM
@dinesh75 were you able yo fix this? what was the resolution?
Raghav
MVP 2023