AnsweredAssumed Answered

Script  Works only if run twice in row !!  What could be wrong ?

Question asked by binu.alexander on Sep 23, 2015
Latest reply on Sep 23, 2015 by binu.alexander

Before Script is Run

before.png


After First Run

first.png

After Second Run

second.png

 

 

 

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

 

strange.png

Outcomes