cross scope issue [easy points]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2022 02:26 PM
Hi Experts!
I am trying to perform a pretty standard cross-scope create/write operation with a script.
What am I doing wrong?
the weird part is that I am allowed to create records on the target table, but I cant edit any values on the record created. so the following code does the following::
var gr = new GlideRecord('TARGET_TABLE');
var candidateId = 'SYS_ID1';
var jobListingId = 'SYS_ID2';
gr.initialize();
gr.candidate=candidateId; // throws error
gr.job_listing=jobListingId; // throws error
gr.prescreen_notes='test' // throws error
gr.insert();
errors being thowng:
Access to api 'put(TARGET_TABLE.candidate)' from scope 'x_JELLY_RT5_QQ' has been refused due to the api's cross-scope access policy |
Access to api 'put(TARGET_TABLE.job_listing)' from scope 'x_JELLY_RT5_QQ' has been refused due to the api's cross-scope access policy |
Access to api 'put(TARGET_TABLE.prescreen_notes)' from scope 'x_JELLY_RT5_QQ' has been refused due to the api's cross-scope access policy |
Below are the application access configuration for the target table
I also made the following cross scop privilege, I made one for both create and write
what am I doing wrong!?!?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2022 08:27 PM
Hi,
Create cross scope privilege's record for All operations like 'Create', 'Read', 'Write' and if needed 'Delete'.
I guess you have created only for 'Create' operation.
Thanks,
Anil Lande
Thanks
Anil Lande