How convert loop into while loop

I have been using mendix 8.8. version .In this there is no widget for while loop, just loop .in loop we can convert the iterator into while but my question where we have to write the condition for while there is no option given there?  
1 answers

Hi Rajesekhar,

The while loop can be used in mendix 9.0.5. In mendix 8 you have to build the loop yourself. So without the loop activity by using a decision at the end of your custom loop to check whether to continue in the loop or not and if the loop is not yet finished, merge it back in the flow.

See e.g. Mendix Forum - Questions

Hope this helps!