problem with HR table when try to read record

Saif Al-Bashiti
Mega Expert

Hi everyone,

I have a problem with field ' subject_person_hr_profile ' from table ' sn_hr_core_case '

I need to set default value for this field , by default value : javascript:gs.getUserID();

error message appear in the top of form >> " Read operation on table 'sn_hr_core_profile' from scope 'Global' was denied because the source could not be found. Please contact the application admin. "

How I can solve this issue ? note : this is a security issue , but i dont know how i can solve this issue ?

please save my day and thanks

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Saif,

Did you try setting some hardcoded sys id value there?

Also in which scope did you capture the default value?

Regards

Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Mike Patel
Tera Sage

try

javascript:gs.getUser().getID();

Aksha
Tera Guru

Hi Saif,

This happens because the ACL added for the hr table restricts the read operation from the scope you are working on.

Could you please check from left hand navigator:

Access Controls(ACL) : Name-->*hr(check your table name) : Operation -->read

 Please let me know, what ACL has added for the read operation for your table

Aksha
Tera Guru

Hi Saif,

Similar issue got resolved in the following link:

https://community.servicenow.com/community?id=community_question&sys_id=99733d33dbd31b80f7fca851ca96...

One option

 

1)  For the table sn_hr_core_case, There is a related list, Application Access, Where we can select an option Accessible from 'All application scope'.