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

Please find the attachment.

How can I open the field for two other groups a same time?

If the current user is member of Service Desk and Network the field must be open along with his groups.

 

thanks!

harishdasari
Tera Guru

Are you checking trying to impersonate some user or you are checking using your account ?

 

Because for admin's ACl's will override.

checking impersonating ITIL user.

Sorry it is working now..

 

how to make same field editable to users from Service Desk and Network ?

 

Thanks,

How can I open the field for two other groups a same time?

If the current user is member of Service Desk and Network the field must be open along with his groups.

 

thanks!