How to add two or more sys_id in system property?

Suvronil Ghosh
Tera Contributor

I'm trying to add multiple sys_id in a single system property.

8 REPLIES 8

Maniraj Jayaraj
Tera Expert

You can add them comma(,) separated.

And in scripts, you can get them using gs.getProperty('property_name');

then split them using .split(",").

Hello, 

Is this a right approach?

find_real_file.png 

Hello,

This is correct?

find_real_file.png

you can try like,

 

var ids = gs.getProperty('property name');
ids = ids.split(",");

 

now ids will have sys_id values in array format.

 

Thanks,

Maniraj