Skip to main content
Previous sectionNext section

DTL <break>

Terminate a For Each loop or stop processing the data transformation.

Syntax

<break/>
Copy code to clipboard

Attributes

None.

Elements

Element Purpose
<annotation> Optional. A text string that describes the <break> element.

Description

When included in a <foreach> element, the <break> element terminates the For Each loop. If <break> is outside of a For Each loop, the entire data transformation terminates as soon as the break is executed.