Skip to main content
Previous section   Next section

DTL <false>

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

Syntax

<if condition="0">
   <true>
     ...
   </true>
   <false>
     ...
   </false> 
</if>
Copy code to clipboard

Attributes

None.

Elements

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

Description

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