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.
Element | Attributes | Content | Parent |
---|---|---|---|
<compoundAction> | operator, delay | (<simpleAction> | <compoundAction>)+ | <causalConnector> or <compoundAction> |
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:
The default value is “0s”. | The delay attribute defines a time delay to be waited before triggering the <compoundAction>. |