Before Script is Run
After First Run
After Second Run
The second run gives correct results !!
I am not able to understand what is going on
PURPOSE is to copy a list of student ids from another table into a variable and then create new records in the portal for each student id ...
THIS IS MY SCRIPT