I have an issue running RunEVent while inside of the for loop.
So the code is here This code is working
for (var ff = 1;ff lte qry.recordcount;ff++) {
var locID2 = qry[“ID”][ff];
}
Once I added runEvent inside of the loop then it start breaking
for (var ff = 1;ff lte qry.recordcount;ff++) {
var locID2 = qry[“ID”][ff];
var locLogDetailID = RunEvent(event=“ehResource.Logger”,eventArguments={logType =3,logID = 1,Description = ‘Group: #locID2#’,dsn = arguments.DSN});
}