- 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
ā12-30-2020 06:26 AM
Hi,
please share the script you are using to insert
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
ā12-30-2020 08:53 AM
Hi Ankur,
I am not using any script to make insertion.
The problem happens when inserting records manually thorough the new record form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-30-2020 11:14 PM
Hi,
Please check this
1) when was the last time it was working fine
2) Did you recently upgrade
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
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-03-2021 08:22 AM
Any update on this
Regards
Ankur
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader