- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-30-2020 06:23 AM
I have created a custom table in a scoped application, but when inserting new records into this table I receive the message "Record not found".
Taking a look into the logs a see the following warning when trying to insert any record into this table.
"org.mozilla.javascript.EcmaError: "__ref__" is not defined.
Caused by error in <refname> at line 1
==> 1: __ref__.isNewRecord()"
OBS: There is no Business Rules or scripts running in this tabel yet.
The problema occurs when I try to insert records using any user, including the sys admin.
Solved! Go to Solution.
- Labels:
-
Scoped App Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-06-2021 09:43 PM
There must be an issue with this table itself.
Try deleting it and create new one and check if that works fine or not.
Regards
Ankur
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-04-2021 02:50 AM
Hi Ankur,
1) when was the last time it was working fine
The problem started as soon as I created the table. I already deleted and created the table again, but the problem repeats.
2) Did you recently upgrade.
No, this is a brand new instance on Paris version.
3) Is this table extended by some other table and did you check the table which it has extended has any before insert BR or not.
The table do not extend any other table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-04-2021 03:15 AM
Hi,
if this issue is coming for admin then issue with your instance.
Please raise HI ticket with ServiceNow
Regards
Ankur
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-04-2021 03:17 AM
The problem is that happens in a personal instance, so I cannot open Hi tickets for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-04-2021 03:24 AM
Hi,
If this setup is in your personal instance and you are ok to share details url and some admin credentials then share here -> ankurb.snow@gmail.com
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-04-2021 03:51 AM
Just sent you the access. If you could take a look it would be great!