Only current Assignment Group should have access to update Assignment Group field on Incident form

Bargavi
Mega Expert

Only current Assignment Groups should have access to update Assignment Group field on Incident form.

 

Please help! I tried business rule but able to select groups which the user is member of but unable to restrict group change if user is not member of group.

Suppose: Incident 123 is assigned to Network group only users from Network must be able to update assignment group of Incident. For all other users there must be an error message.

 

Thanks in advance!

1 ACCEPTED SOLUTION

SanjivMeher
Kilo Patron
Kilo Patron

Build you ACL condition as 

 

Ok...You will have to write script in the ACL as below

answer = false;

if (current.assignment_group!='' && (gs.getuser().isMemberOf(current.assignment_group.toString()) || gs.getuser().isMemberOf('ServiceDesk') || gs.getuser().isMemberOf('Network')))

{

answer = true;

}


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

14 REPLIES 14

SanjivMeher
Kilo Patron
Kilo Patron

You need an Write ACL for this on Incident Table on Assignment Group field.

 

ACL condition should be

 

Assignment Group Is Not Empty && Assignment Group Is Dynamic 'My Group'


Please mark this response as correct or helpful if it assisted you with your question.

harishdasari
Tera Guru

Create an Write ACL and in conditions mention assignment group is one of my assignment group.

Then it will fix ur issue

 

find_real_file.png

it does not work

SanjivMeher
Kilo Patron
Kilo Patron

Can you share a screenshot of your ACL?


Please mark this response as correct or helpful if it assisted you with your question.