Notifications

7 views

Description

This document explains how to create multiple records on any table for testing your code, workflow or functionalities.

Instructions

GO to System Definition -> Scripts - Background in your instance and run the following script. Modify the script to your requirements before running.

var count = 0;
var number = NUMBER_OF_RECORDS; //Enter the number of records to be create here


while (count< number) {
var rec = new GlideRecord('NAME_OF_THE_TABLE'); //Enter the name of the table here
rec.initialize();
rec.insert();
count++;
}

Article Information

Last Updated:2019-09-19 16:31:56
Published:2019-09-19