- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 02:08 AM
Hi
I want to hide records where a checkbox is set to true for all users unless they are member of the assigned assignment group
I want to do it with a business rule
Solved! Go to Solution.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 05:58 AM - edited 02-10-2023 04:38 AM
Solved the problem by making a before query BR.
I simply made this script: current.addEncodedQuery("assignment_groupDYNAMICx^OR//FIELD//=false")
I did after doing a type of:
Apparently using ^NQ in encoded query in a before query BR causes a bug when opening up incidents

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 02:15 AM
Hi,
You cannot hide records from the BR, you need to configure the ACL on the table to which the records need to be hidden and then in the script field configure the script as per the requirement.
Regards,
Sourabh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 02:17 AM
So i cannot do this with before query business rule? this is not my perception

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 03:08 AM
yes you can go for the before query BR to configure for the same.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 02:44 AM
Hi Lars,
Follow the below URLs.
Before Business Rule on the Task table to hide incidents for specific assignment groups
Query business rule to hide the records
Hope it helps,
Thanks,
Raj