Source descriptor is empty while recording access for table sn_hr_le_case: no thrown error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2025 01:52 AM
Hi everyone! please i have a question i ve created an notification for only hr tables and also i ve created an email script for it , and they re all in the global scope , but when testing this notification for hr lifecycle events cases it showing this error "Source descriptor is empty while recording access for table sn_hr_le_case: no thrown error" but it s working fin for other sn_hr table ? how can i solve this issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2025 02:13 AM
why did you create notifications, email scripts in global scope?
You should create them in the correct HR Lifecycle event scope.
There will be cross scope access issues going forward.
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
‎07-10-2025 02:16 AM
cause it s including other table that are not in the HR lifecycle events scope
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2025 03:57 AM
when changed everything to human ressources core , i m getting this error instead "Access to api 'setWorkflow' from scope 'sn_hr_core' has been refused due to the api's cross-scope access policy. Access Details: setWorkflow can only be called from within the same Scope as the Table on which it is called. Table's Scope was: "Global", but executing Scope was: "Human Resources: Core"."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2025 04:09 AM
does your notification/script use setWorkflow(false) anywhere?
setWorkflow(false) will only work when the script and the table on which setWorkflow(false) is applied are in same scope.
Example: a business rule in HR Core scope cannot use setWorkflow(false) on GlideRecord object of Case table (Customer Service)
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