Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

ServiceNow – Migrated records not initializing UI correctly until a field is changed

AshutoshS790709
Tera Contributor

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.

6 REPLIES 6

Raghav Sharma24
Giga Patron

check the console, there should be an error (right click + inspect) in console.

share its screenshot.

AshutoshS790709
Tera Contributor

Hi Raghav,

I have attached the screenshot , if you get anything i would be great help.

did you mask the script names? Those scripts need to be checked.

AshutoshS790709
Tera Contributor

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?