Forum Discussion

jazzyekim's avatar
jazzyekim
Occasional Contributor
11 years ago

Exit data-driven loop

Hi!

I am using data-driven loop to find the data to insert in DB and once required dataset is found I would like to stop the loop and exit since it is time-consuming. I have tried to add 'break' statement using  CodeSnipet but got  a 'Syntax error' exception. 

How can I exit data-driven loop properly?

Thank  you