AshishKM
Kilo Patron

Hi @tsoct , 

It's returning the first record check, because the return statement is within the while loop.

Keep this return out of while loop, if you need to iterate over all record. 

 

-Thanks,
AshishKM

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

View solution in original post