Hr case visibility restriction with business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2024 03:11 AM
Hi all
I have few groups
Like
1. Group A
2. Group B
3.Group C and so on
- I want to make these groups to see cases only assigned to them and they should not see the cases of other groups

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2024 06:47 AM
You can do it via COE Security policy
Thanks,
Narsing

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2024 07:30 AM
@Ramesh01 If you wish to achieve this using a query business rule, then please refer to the following steps.
Here is the script.
(function executeRule(current, previous /*null when async*/ ) {
// Add your code here
current.addEncodedQuery('assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744'); //Dynamic filter to check for One of My Assignment groups.
})(current, previous);
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2024 08:06 PM
Hi Sandeep thanks for the response
The above solution is applying to all the groups my requirement is I want to restrict only a few specific from seeing other groups cases

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 04:34 AM
@Ramesh01 Simply add the filter conditions in the business rule
When Assignment group is Group A
OR
When Assignment group is Group B
OR
When Assignment group is Group C
etc