We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Import data in scoped application at time of install?

akaupisch
Kilo Guru

I have a custom table in a scoped application. That table is essentially a choice table but is meant for users to add/remove from. I have a default 10 records that I want to have installed with it when the application is installed.

Is there an easy / best practice way of doing this?

I could create a fix script which would do an insert for each one, but that seems kinda lame especially if I had a table with 100 items in it.

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
5 REPLIES 5

Also please note the records already shipped will not be deleted i.e version 1 already shipped to the customer. In that case you have to create a Fix script and delete those records via script.

https://community.servicenow.com/community?id=community_blog&sys_id=08ab8f20db3c678054250b55ca961979

 

 

 

I hope this helps