Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 918 Bytes

Protocol.QActions.QAction.Condition.md

File metadata and controls

40 lines (26 loc) · 918 Bytes
uid
Protocol.QActions.QAction.Condition

Condition element

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

Type

string

Parent

QAction

Remarks

Refer to xref:LogicConditions for more information about conditions.

Feature introduced in DataMiner 7.5.4.3.

Examples

In the following example, the QAction will be executed on trigger of parameter ID 3000 and only when the value of parameter ID 500 is equal to Active:

<QAction id="1" encoding="csharp" triggers="3000" inputParameters="">
  <Condition>id:500 == "Active"</Condition>
  <![CDATA[
    ...

In the following example, the QAction will be executed when the value of the parameter with ID 1 is equal to 1 and the value of the parameter with ID 104 is equal to 0:

<Condition><![CDATA[(id:1 == 1 AND id:104 == 0)]]></Condition>
<![CDATA[
  ...