Condition element
Specifies a condition that must be met in order for the group to execute.
Type
string
Parent
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.
Important
When the group has a condition, before group and after group triggers will only go off if the condition result is true. Note that prior to DataMiner 10.4.8 [CU1] and 10.4.0 [CU5], before group triggers will go off regardless of the group condition result, but this is no longer the case in later DataMiner versions.
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>