Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Cross-scope glide.record.legacy_cross_scope_access_policy_in_script

Martin105
Tera Contributor

Hi, I have spent several hours on this already and I cannot find a solution

I recently set 

glide.record.legacy_cross_scope_access_policy_in_script=false

   and it broke my BR running in sn_si. The BR is creating a Draft Email. I am getting an error:

Access to api 'setValue(sys_email_draft.body)' from scope 'sn_si' has been refused due to the api's cross-scope access policy.
 

 This is expected behaviour but I was not able to find a fix. I set cross-scope policy:

Martin105_0-1763238133118.png

But it did not fix it. I tried tons of other variants but I believe this it the right one. Does any one has an idea how the policy should be set after reinforcing the platform. 

0 REPLIES 0