Hw to create a record list

Hii,
Thanks in advance

Can I have a sample script as how to create a record list.

Regards
Krishna

There are a couple of approaches.

First, use a loop and specify the record list as the out-array.

LOOP over /something
…MAP into the out-array list, which now looks like a record in the pipeline

Second, create your record and then use pub.list:appendToRecordList. Be aware that this can be a performance bottleneck for large lists. Remember to create a new record for each entry. Do not use the same record over and over.

HTH