How can I create new record in sys_ux_my_list table using script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2024 11:04 AM
Hi,
Im trying to create new record or update an existing record using script and im getting this error:
But when I check the 'create' acl i only see this:
How can I create a new record via script in this table?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2024 12:48 PM
Hi @Alon Grod,
You would need to set the table's 'Can create' to TRUE.
Note that you may still get an error and I was able to fix it by flushing the cache by running the following script:
GlideTableManager.invalidateTable(<table_name>);
GlideCacheManager.flushTable(<table_name>;
The above is from the following article - https://www.servicenow.com/community/developer-forum/quot-write-operation-from-scope-rhino-global-ha...
Cheers