The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How can I restrict that only the support groups which the task is assigned can modify it?

fabiangr
Mega Contributor

Dear All

I am new in servicenow and I have a request since into the problem tasks everyone can manipulate the task even if they don not belong to the support group.

I would like to know how can I restrict that only the support group which the task is assigned can modify it

1 ACCEPTED SOLUTION

You wont able to create because write ACL does not allow you to do so,


please modify write ACL code to below.



please replace code with below, it will work.



if(!current.isValidRecord())


{


answer = true;


}


else


{


answer = gs.getUser().isMemberOf(current.assignment_group);


}


View solution in original post

22 REPLIES 22

Hi Fabian,



Go to the ACL you have created. Now just make the operation as create and remove the script section. Once done right click on the header and click "insert and stay".


In the roles related list, give the roles what you have gave to the previous ACL.


Hi Pradeep,


there is no script code in Create ACL.


It is available in write ACL, dues to which even create operation is not permitted since write ACL blocks it.


Got it. Thanks