- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2018 07:44 AM
HI ServiceNow Experts ,
I am working on a Requirement for Notifications .
Problem :
Incident and Incident alert notifications are received by all the End users in the organization .
So when a End user opens a incident , he gets a notification and Click on the " View Incident " link , he is able to view the incident .
When another End user Clicks on the same " View Incident " link , he is not able to view the incident . He is getting a error - """"Record Not Found"" .
WorkAround :
1. Deactivated all the ACL's on the Incident and Incident Alert tables and tested - No luck
2. Activated them back and added the end user role for all the ACL's - No Luck .
3. Searched in the all the scripts - Business Rules , Client scripts , Script Includes , to see , if they have a Info message - No luck .
Please share your insights on this problem .
Thank You
Solved! Go to Solution.
- Labels:
-
Team Development
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2018 08:25 AM
Shyam,
Try disabling only this read ACL and on the new read ACL use the custom role. Next, the below BR script needs to be copied and edited to allow the custom role query rights. Please remember to disable the OOB BR.
if (!gs.hasRole("itil") && !gs.hasRole("XYX") && gs.isInteractive()) {
var u = gs.getUserID();
var qc = current.addQuery("caller_id", u).addOrCondition("opened_by", u).addOrCondition("watch_list", "CONTAINS", u);
gs.print("query restricted to user: " + u);
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2018 07:48 AM
Hi,
Can you check that both users are having same roles?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2018 07:49 AM
Yes both are End Users - Have basic access to the system

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2018 07:57 AM
Did you try to impersonate End User B who is not able to see the link and getting error. Are you still getting error from his account?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2018 08:11 AM
Exactly , I am imperonation both the user .
For one user , the link is working ( who opened it)
For another user , he is getting the error .
Thank You