- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2015 04:04 PM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 12:02 PM
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);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2015 06:16 PM
Fabian,
edit the following ACL rule
https://YOURINSTANCE.service-now.com/sys_security_acl.do?sys_id=80dda66bc0a80166614b4965c9f56b6e
remove the require's itil role and add the following script.
answer = gs.getUser().isMemberOf(current.assignment_group);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 11:21 AM
Matt
Thanks for your support.
I just modified the ACL Rule and it is working however I am not able to créate new problem task all the fields looks like grayout
I have ACL rule for creation and it has itil role related, but it is not working I mean I am not able to créate new problema task as I mentioned above
Any idea?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 11:33 AM
You edited the create rule and not the write rule. Please recheck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 11:41 AM
Hello Matt I edited the correct one I meant ACL write rule.
But I am not able to créate new problem task since all the fields looks as grayout. I posted the configuration of the ACL créate rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2015 11:47 AM
Hi Fabian,
have you tried modifying the script logic for write ACL?