how to implement loops in mendix?

loops in mendix and how to access retrive data? in mendix?
2 answers

Hi vijaya biradar,

We can find information about the loop activity in the above documentation:

To further help please specify the use case.


Hi Vijaya,

A loop is used to execute repeated actions for a list of objects. For each iteration, the flow inside the loop is executed. The loop can be configured to iterate over a list or be based on a Boolean expression.

The object you're retrieving might be through association or directly through the database with any of the XPath constraints that would retrieve your list of objects for each time the value enters the loop as per the loop type you choose. 

Loop Type : 

  1. For Each (Item in the List)
  2. While (Condition Is True)

So this is how loops are in Mendix to access the retrieved data.

For more info : Loop Guide

For more information let me know the use case to make a better understanding on the loops in mendix.