ACL to check logged in user company and ticket created user company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 10:59 PM
Hi All,
I have a requirement.
if the logged in user is a member of "X" company then he should only be able to see tickets created by"x" company users , that means logged in user should only have access to tickets created by the same company users.
I know i can accomplish this by using ACL. i have tried different ways but it's not working.
Can any one assist me with this.
Thanks in Advance.
- Labels:
-
Best Practices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 11:23 PM
Try adding the javascript:gs.getUserID() in the condition builder at the bottom of the ACL. Please find sample screenshot below
For more information on how ACLs are evaluated - https://docs.servicenow.com/bundle/madrid-platform-administration/page/administer/contextual-securit...
Hope this helps!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 11:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2019 12:12 AM
Hi,
If this answer has helped you, kindly mark correct / helpful

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019 11:58 PM
Hi,
U can write the ACL with the condition.
more information for ACL then go for this link.
Thanku
Thanks,
Rahul Kumar