Not able to Update state of HR case (sn_hr_core_case) through script getting error as "Source descriptor is empty while recording access for table sn_hr_core_case: no thrown error Security restricted: Read operation on table 'sn_hr_core_case' from sc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2022 08:06 AM
When I am trying to update state of HR case from "Awaiting Approval" to "Ready" using script it is showing error as:
"Source descriptor is empty while recording access for table sn_hr_core_case: no thrown error
Security restricted: Read operation on table 'sn_hr_core_case' from scope 'Global' was denied because the source could not be found. Please contact the application admin.
Security restricted: Read operation on table 'sn_hr_core_case' from scope 'Global' was denied. The application 'Global' must declare a cross scope access privilege. Please contact the application admin to update their access requests."
Can you please help to resolve this issue.
- Labels:
-
Case and Knowledge Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2022 10:36 AM
Hi
Regards,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2022 11:47 PM
Can you please help me with exact steps required to be followed in order to fix the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2022 11:56 PM
Hello
I think you should not provide the Global scope to access the data from sn_hr_core scope. Because that is how it is implemented that the global scope should not be able to access the HR table's data and hence it is restricted.
Could you please check once by changing the scope to sn_hr_core and then execute the script in sn_hr_core scope:
Please mark my respsone as helpful/correct, if it answer your question.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2022 08:55 AM
Regards,
Mike