For loops in javascript

 ref:

For loops

 

var prop1=gs.getProperty("a-property");//--, delimited sys_ids (or single sys_id) var prop2=gs.getProperty("a-property2"); //--, delimited var prop1_arr=prop1.split(','); var prop2_arr=prop2.split(','); for (SYSID in prop1_arr){ gs.print(prop1_arr[SYSID]); } for (SYSID2 in prop2_arr){ gs.print(prop2_arr[SYSID2]); }

Comments

Popular posts from this blog

GlideRecord setValue

Running transform maps asynchronously

Post a command to the ECC queue for the mid server to initiate a powershell file copy