Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous section

DTL <true>

Perform a set of activities when the condition for an <if> element is true.


<if condition="1">
Copy code to clipboard




Element Purpose
<annotation> Optional. A text string that describes the <true> element.
Most activities Optional. <true> may contain zero or more of the following elements in any combination: <assign>, <code>, <foreach>, <if>, <sql>, <subtransform>, or <trace>.


A <true> element is used within an <if> to contain elements that need to be executed if the condition is true.