Table of Contents

Condition element

Specifies a condition that must be met in order for the group to execute.

Type

string

Parent

Group

Remarks

If you specify a condition, the group will only be executed when the condition is met. Note that a condition can be enclosed in a CDATA tag.

Refer to Conditions for more information about conditions.

Examples

In the following example, the group will be executed when the value of parameter 500 is equal to “Active”:

<Group id="200">
  <Condition>id:500 == "Active"</Condition>
</Group>

In the following example, the group will be executed when the value of parameter 5 is equal to 1:

<Group id="200">
  <Condition><![CDATA[(id:5 == 1)]]></Condition>
</Group>