Table of Contents

The <compoundAction> Element

Definition and Usage

The <compoundAction> element defines a logical expression among its child elements (<simpleAction>, <compoundAction>) by means of an operator attribute that can receive the “par” or “seq” value.

Parallel (“par”) and sequential (“seq”) compound actions specify that the execution of actions shall be performed in any order or in a specific order, respectively. When the sequential operator is used, actions shall be fired in the specified order. However, an action does not need to wait the previous one to be finished.

A delay attribute may also be defined specifying that the compound action must be applied after the specified delay.

Syntax

Element Attributes Content Parent
<compoundAction> operator, delay (<simpleAction> | <compoundAction>)+ <causalConnector> or <compoundAction>

Attributes

Name Value Description
operator “seq” or “par”. The default value is “par”. The operator defines the order that actions must be applied in the <compoundAction> child elements.
delay

The delay attribute is be specified according with one of the following syntax:

  1. “Hours:Minutes:Seconds.Fraction”, where “Hours” is an integer in the [0,23] interval, “Minutes” is an integer in the [0,59] interval, “Seconds” is an integer in the 0,59 interval, and “Fraction” is a positive integer,
  2. Seconds“s”, where “Seconds” is a positive real number.

The default value is “0s”.

The delay attribute defines a time delay to be waited before triggering the <compoundAction>.