All case visibility for one particular user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2024 08:41 AM
Hi All,
We have requirement, where user X needs to see all cases related to account Y even though she's not a opened by, internal user or in watchlist. Could you please help me with steps I need to follow here? I need to create BR here but how do I make it happen so that other BR won't get effected?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2024 08:52 AM - edited 02-27-2024 08:53 AM
Hi @sunny27 ,
Create a custom role for the user and modify the existing ACL (or) Write before query business rule based on that role.
(function executeRule(current, previous /*null when async*/) {
current.addEncodedQuery("assignment_groupIN"+ gs.getUser().getMyGroups().toArray().join());//replace with your query
})(current, previous);
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda