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

swapnaja jagada
Tera Contributor

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.

 

 

7 REPLIES 7

susmitha17
Giga Guru

Hi,

Run the same code in fix script with scope as Hr core

tried with the same still getting same error

Mitsua
Tera Guru
Tera Guru

Hello @swapnaja jagadale 

Please try again by doing following steps:

1)Navigate to "

2)You can see there multiple records , search for the records having target scope "sn_hr_core_case" and source scope "Global" . Pick your two records.

3)Check the status of those records. If status is "requested" change it to "allowed" and save the records.

4) Run script again

Thanks!