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 error from Global to Global

Anna T_
Tera Expert

Hi everyone,

 

I am encountering an odd issue. In Flow Designer, I have a simple "Look Up Records" action. This should look up records on the sys_documentation table (where Table = sys_user and Language = English). I have created this flow in the Global scope. The sys_documentation table is also in the Global scope, it is accessible from all applications, and has the can read/write/create checkboxes ticked (and cache cleared).

 

When I run the flow, I get the error "Scope does not have read access to table sys_documentation" which is odd, since everything is in Global scope. It doesn't create a record to mark as "Allowed" in the application cross-scope access, and I'm not able to create one there since source and target scope cannot be the same.

I'm a little bit lost and can't find anything in KBA or elsewhere in Community. Let me know if you have any thoughts!

1 ACCEPTED SOLUTION

Hi @Anna T_,

 

You are absolutely right, it still fails even if the records are in the Global scope.

I tried a few things in the PDI but unfortunately, nothing seems to work.

One thing I did notice is that you can query the table with a script in a Flow. Hence I am guessing it's something to do with the Look Up Record/Look Up Records actions.

 

I would recommend raising a Support case and in the meantime you can use a script to query the table.

 

Cheers

View solution in original post

5 REPLIES 5

Sumanth16
Kilo Patron

Hi @Anna T_ ,

 

Please refer to the below thread:

https://www.servicenow.com/community/developer-forum/cross-scope-error-from-within-a-single-scope/m-...

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda