Unable to Access sys_ux_my_list via GlideRecord (Private Scope Issue)

lidorz
Tera Contributor

Hi everyone,

I’m running into an issue when trying to access a table via GlideRecord and would appreciate your insights.

I’m attempting to query and update records in the table sys_ux_my_list from a script, but I’m getting access errors indicating that the table cannot be accessed.

From what I understand, this table belongs to the private scope:
@Servicenow/now-record-list-menu-connected application

Because of that, GlideRecord seems to block write operations.

My questions are:

  • Is it expected behavior that tables from this scope are completely inaccessible via GlideRecord?
  • Is there any supported way to access or update data in this table?
  •  

The error from the fix script:

GlideSession message was modified by sanitization. [message=Write operation against 'sys_ux_my_list' from scope 'rhino.global' has been refused due to the table's cross-scope access policy][sanitized=Write operation against 'sys_ux_my_list' from scope 'rhino.global' has been refused due to the table's cross-scope access policy]
Security restricted: Write operation against 'sys_ux_my_list' from scope 'rhino.global' has been refused due to the table's cross-scope access policy
[0:00:00.013] Total Time

 

Thanks in advance for any guidance!

1 REPLY 1

KanteS
Tera Guru

Hi,

 

Yes, this is expected behavior.

You can’t update this table from outside its own application, that restriction is by design. This table is part of an internal ServiceNow app, so it blocks write access from other areas like Global.

You can try below:

1. Run the script in the same application
If you have access, run your script within the application where this table belongs. This is the most reliable that we can do.

2. Cross-application access
You can try allowing access from one application to another, but for ServiceNow-owned apps, this usually does not allow updates.

3. Use a helper script inside that app
create a script inside that application and call it from outside. But in most cases, you won’t be able to change ServiceNow’s default apps, so this may not work.

 

If this helps, please give a like and mark it as a solution

Thank you