info_tel

GEL - CSV Fileread running in loop

Discussion created by info_tel on Feb 21, 2012
Latest reply on Feb 24, 2012 by Chris_Hackett
Hi,

I'm trying to read a .csv file stored in a Document type attribute using GEL script. The script works fine on most occations, but for few instances the data is the file is being read twice i.e. if the file has 5rows in it, the output of my GEL script gives me 10 rows or in multiples of the number of actual rows present. But when I run the script for the project once again it reads the data correctly. Can anyone help me resolve this issue that im facing.

I have attached the sample code for reference.

Outcomes