How to Pre-Populate Records in a Custom Table Upon Application Installation?

Onlyprashant
Tera Contributor

I have a custom table in my ServiceNow application, and I want certain records to be pre-populated when the user installs the application. These records should be available by default without requiring any manual intervention.

What is the best way to achieve this in ServiceNow?

Any guidance or best practices would be greatly appreciated!

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Onlyprashant 

You can use onload client script and set the values.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Mark Manders
Mega Patron

Add them as 'demo data' to your app.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark