ServiceNow – Migrated records not initializing UI correctly until a field is changed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I have migrated data from a legacy system into a custom table in ServiceNow using Load Data / Import Set.
When I open a migrated record for the first time, the form does not behave as expected:
Normally, most fields should be read-only except Assigned to, but on the migrated record almost no fields are read-only (except Primary Contact).
The Activity section (Work Notes and Additional Comments with filtering) is not visible.
The Resolution Notes section is also missing.
UI Actions such as Cancel and Resolve are visible, but they do nothing when clicked.
The form context menu (Save, Configure, Export, Show XML, etc.) is not available.
However, if I change the value of any field (for example, Issue) and click Update, then:
All read-only rules apply correctly
Activity and Resolution sections appear
UI Actions start working
The form context menu becomes available
Simply clicking Update without changing any field does not fix the issue — a real field change is required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
check the console, there should be an error (right click + inspect) in console.
share its screenshot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
did you mask the script names? Those scripts need to be checked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
when i check the error it showing on this line
var genAICard =new GenAIRecordSummary('table_name','table label',......)
angular.element(document).scope().$on('record.updated',genAICard.onRecordUpdated.bind(genAICard)); //error in this line
and there other script in that this class GenAIRecordSummary is defined
but i have not created and added this script i think this are some inbuilt script in servicenow or plugin through this i am getting this..
Now, what can do?
