Table of Contents

combination attribute

Use this attribute on a condition belonging to an if action. It specifies the logical operator to be applied, which determines how the condition is combined with the other conditions in the if action.

Use lowercase and or or values.

Content Type

Item Facet value Description
string restriction
  Enumeration and And
  Enumeration or Or

Parent

Condition

Remarks

  • For a single condition, the combination attribute does not add another condition to evaluate. Keep the conditions in the same Exe element so that the operator applies to the intended expression.
  • DataMiner evaluates the conditions as one logical expression before it selects the if, else, or endif path.
  • An unsupported value, mismatched condition set, or condition that refers to the wrong parameter can make the branch behave differently from the intended expression. Check the referenced parameter and variable IDs whenever you change the condition list.

Example

<Exe id="2" type="if">
   <Type>conditions</Type>
   <Condition combination="and" type="param" protocol="1" pid="64501" compare="lt" ref="param1"></Condition>
   <Condition combination="or" type="variable" var="param1" compare="eq" ref="">10</Condition>
</Exe>

Authoritative references

Advanced search syntax