The CreatorCon Call for Content is officially open! Get started here.

Create a record in a table and populate fields

Summer
Kilo Contributor

Hi all!

Im creating a fix script as I was trying to create a new record in a table with populate fields and here's what I did.

 

find_real_file.png

 

Result: When I tried to run the fix script and check the table, I cannot see the record in the table..  Can you guys help me with this? Thanks in Advance!

10 REPLIES 10

Hi,

then any before insert BR on that custom table is restricting the insert

OR

any mandatory field on table which you are not filling and data policy is blocking the insert

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

SumanthDosapati
Mega Sage
Mega Sage

Hi,

What is this NotificationSysID.SONGWBS 

Is that a script include?

Looks like that is causing the issue or there might be ACLs restricting the creation of records in that table.

 

Mark as correct and helpful as applicable.

Regards,

Sumanth

 

Hi @Sumanth Dosapati  for NotificationSysID.SONGWBS . Yes it is in the script include. I tried to comment that line but still it is not showing the record.

May be there is an ACL restriction?

Are you able to create same record in that table manually instead of using fix script?

Or else share your complete script screenshot

Hi @Sumanth Dosapati . Lemme just check the acl too. 

I cannot create the same record manually because there's no "New" button in the table. find_real_file.png