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.

Remote Tables Plugin Uses App sys_id Instead of Scoped App Name When Calling Flow

giuntaA
Tera Expert

Hi all,

I’m experiencing an issue with the Remote Tables plugin in my scoped app. When the plugin attempts to call a flow, it uses the app’s sys_id as the scope name, rather than the expected scoped app name. This is causing flow execution failures, as the system cannot locate the flow under the sys_id-based scope.

For example, instead of calling the flow as x_example_scope.get_remote_mid_servers, it tries to call it as <APP_SYS_ID>.get_remote_mid_servers.

Here’s a log snippet illustrating the problem (with placeholders for privacy):

[RemoteTable] FlowEvaluatorProvider: Unable to run flow: <APP_SYS_ID>.get_remote_mid_servers for remote table: <REMOTE_TABLE_NAME>: com.glide.plan.runners.FlowObjectAPIException: The flow named: <APP_SYS_ID>.get_remote_mid_servers does not exist within application scope: global: com.glide.plan.runners.FlowObjectRetriever.getFlowObjectRecord(FlowObjectRetriever.java:94)

I have tried deleting and recreating both the Remote Table definition and the flow, but the issue persists.

Has anyone else encountered this? Is there a configuration or workaround to ensure the correct scoped app name is used when the plugin calls the flow?

Any insights would be greatly appreciated!

1 REPLY 1

kaushal_snow
Giga Sage

@giuntaA ,

 

I couldn’t find any documented configuration or workaround in Remote Tables that allows changing how it references the calling scope from the application’s sys_id to the scoped app name, so you may need to log a Support request with ServiceNow to investigate whether this is a bug in your version or requires an advanced cross scope or Flow Designer permission change....

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/