I want to iterate the ResultSet of a TempTable. For eg:
MyTmpTable:
set emails = 'abc@xyz.com','qwe@xyz.com','asd@xyz.com';
for each mail in $(emails)
//Api call with Id https://myapiurl/$(mail)
next
This works fine. We tested with hard-coded emails
MyTmpTable:
Load emails from Employee;
for each mail in $(emails)
//Api call with Id https://myapiurl/$(mail)
next
But we want to iterate with dynamic emails. So tried the above code but its throwing QVD UNEXPECTED END OF DATA Error
Again tried with the below code
MyTmpTable:
Load emails from Employee;
for each mail in FieldValueList('emails')
//Api call with Id https://myapiurl/$(mail)
next
This time loop works fine but getting the same error QVD UNEXPECTED END OF DATA Error on API call
Whats wrong with this implementation?