when user belongs to particular group he can see only ticket assigned their group only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2024 08:22 AM
when user belongs to particular group he can see only ticket assigned their group only and also having another condtion group is command center and reassginemnt count is greater then 1,
how can achive this ?
i tried with Query BR, but when i impersonate the group memeber when i open ticket its opening different tickets not opening ticket,
but when i copy that URL and open in my login its opening correct record, here that user open ticket it's every time opening same ticket number but sys_id is different.
any idea about this with out Query BR how can i achive this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2024 09:05 AM
Hi @Gillerla Rajesh,
You can create an ACL to achieve this, like:
Type: Record
Operation: Read
Table: (Ticket table)
Script to condition:
var user = gs.getUser();
var isCommandCenter = user.isMemberOf('<<Command Center Group Name>>');
if (isCommandCenter && current.reassignment_count > 1) {
return true;
}
return false;
Change the <<Command Center Group Name>> in the script with the exact name of the group.
MVP 2025 ✨
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2024 10:42 AM
Hi @Isaac Vicentini ,
i have some doubts here
1. What type ACL i will give here ? is it table.none (or) table.*
2. in script i need to give any filter conditon like addQuery or encoded query for filter records?
3.and u given return true, but in acl we will pass answer=true or answer= false right ?
FYI:
this is Query BR
