Repeat statements with loops

In production environments, the data you map using the integration engine tends to be highly redundant. You often need to examine, combine and check every item of a huge amount of data, repeating the same pattern within an expression.

Naturally, executing this type of repetitive task can be boring and prone to errors. Ideally, in programming you prefer to write expressions as concisely as possible, not only because short expressions are easier to debug, understand and modify, but also because they require less typing.

One way that computer languages solve this problem is by using programming structures known as loops. Basically, a loop is a sort of statement that makes the integration engine repeat a certain set of statements, therefore requiring you to enter them only one time in the code.

Related topics

Repeat a fixed number of times

Reach a condition

Handle irregularities: pass and abort

FoodBroker project: Introduction to data aggregation

Related Links