How to fix this cross scope error ??

anushad
Tera Expert

Hi , 

I am facing an issue with Cross scope error.I have attached screenshot of the error.Can some one tell me how to fix this error. I tried creating cross scope record , and checked Application access field on all User, groups and roles tables all of them to set to All application access value. I am not sure where to look for or how to fix it. Check the Cross scope record values and let me if i got any of the values wrong especially the Target Name, should i use GlideAPI or something else??

Cross scope record values:: 

my scoped app as a source and

Global as target scope and

Glide API:properties -- Target Name 

Scriptable -- Target Type

Execute API -- Operation

but I am still seeing the same . The Whole scenario is we are using Script include(not client callable)  that is written in a scoped app which contains gs.hasRole() calls in it and based on the role we are returning a query string something like 'active=true'.

if(gs.hasRole() == 'admin') { return 'abc'; }

and this script include is called from a Advance reference qualifier from the scoped app. 

 

1 ACCEPTED SOLUTION

sachin_namjoshi
Kilo Patron
Kilo Patron

Create cross scope record like below with your scoped application

 

find_real_file.png

 

Regards,

Sachin

View solution in original post

2 REPLIES 2

sachin_namjoshi
Kilo Patron
Kilo Patron

Create cross scope record like below with your scoped application

 

find_real_file.png

 

Regards,

Sachin

It works thanks.