How to use for loop in modified javascript Plugin (when we used for loop it returns only last value.
For Ex.
for(var i = 0;i<5;i++)
{
It returns 5th value only.
}
In Process Studio modified java script step will be executed for every row & for no of iterations specified in loop and it will return last iteration value. If you want to check/assign every iteration value then use start loop & continue loop step instead of modified java script.