how to create simple do-while loop?

0
Please help to create do-while loop in mendix with example
asked
2 answers
0

Hey

Which version of mendix are you using currently?
Because in v9 you can actually configure the loop to be for or while.

If not present
You can create a boolean variable outside the loop and set it to true
Add your logic in the loop and set this boolean to false for your while condition.
Put a check at the start to check the value of this variable
If true it will do the logic
If false put a break event to it

Hope this helps!

answered
0

Hi Harshitha,

 

Please refer below links for loops

 

https://forum.mendix.com/link/space/microflows/questions/106551

https://forum.mendix.com/link/space/microflows/questions/99943

https://forum.mendix.com/link/space/microflows/questions/114141

 

Hope it is useful.

 

answered