Related List not displaying records in Platform View
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2024 02:22 AM
I've created Related list to show expired "Special Handling Notes" on my case type table intented to show the expired special handling notes created from the following tables "Consumer" / "Contact" / "Account". It is working as expected for the admin users in both platform and workspace view.
When I impersonate non-admins like customer service agent / consumer service agent. the related list in the workspace is showing the filtered special handling notes record in the custom related list, but in the platform view of the case type, the custom related list is displayed empty with "No Records" message. Feeling it difficult to find reason for this behaviour. Kindly help me to resolve this issue.
Here is the simple query I've written for the relationship record.
(function refineQuery(current, parent) {current.addEncodedQuery("table_name=customer_contact^ORtable_name=customer_account^ORtable_name=csm_consumer^status=3");
})(current, parent);
@Chuck Tomasi @Pradeep Sharma @Ankur Bawiskar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2024 02:03 AM
I already mentioned that definitely some ACL is blocking
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2024 07:34 AM - edited ‎10-25-2024 07:34 AM
I experienced an issue like this, though I was not looking in Workspace at all, so I can't confirm that part. The core of my issue was that when viewing a case type within PSDS (Task > Customer Service Case > Government Service Case > My New Case Type), special handling notes would not appear. The pop-up variety appeared in the pop-up, but nothing in the embedded list in the form.
To fix this, I set my app scope to Public Sector Digital Services and did an 'Insert with Roles' on the Read ACL for "sn_shn_notes" (sys_id should be "4d546e67c332020095ccd02422d3ae81"). Once that was done, the special handling notes appeared within my custom case type.
There's no indication anywhere that there's a scope issue with that ACL, but there was. Perhaps there's a better way to solve this, but that did it for me.