Assignment Group access to work notes and additional comments

Insider
Giga Guru

The assigned group working on the cases must have access to work notes and additional comments on the case.

1 ACCEPTED SOLUTION

HI Shafi ensure there is only one write ACL on the table for worknotes. 

script:

if(gs.getUser().isMemberOf(current.assignment_group.sys_id))
    answer = true;

Refer attached screenshot for example 

1. members of group can edit and see worknotes

2. ITIL user Non member of group cannot see worknotes

Regards
Harish

View solution in original post

29 REPLIES 29

okay I found the issue.The below scripts works well in PDI

if(gs.getUser().isMemberOf(current.assignment_group.sys_id))
    answer = true;

Regards
Harish

I made a 2  new ACLs on these fields, 1 read 1 write.
and added code 
 if(gs.getUser().isMemberOf(current.assignment_group.sys_id))
    answer = true;

But this didn't work Harish.


There is also another ACL working for same field so is that the issue?

Hi are there 2 write ACLs for worknotes ?Deactivate 1 and test.

I have tested this in PDI for incident.worknotes it works well. 

Regards
Harish


Not sure, why is this not working for me. I made the other ACL inactive and still no result. The old ACL used to work for few people on group. Now the New ACL is not working for anyone. 

Note: No role issue

HI Shafi ensure there is only one write ACL on the table for worknotes. 

script:

if(gs.getUser().isMemberOf(current.assignment_group.sys_id))
    answer = true;

Refer attached screenshot for example 

1. members of group can edit and see worknotes

2. ITIL user Non member of group cannot see worknotes

Regards
Harish