transition
Transition is the link to the next step in the resolving process and can contain an optional condition for it to trigger and an optional action to take before continuing to the next step.
Key | Description | Format | Cardinality |
|---|---|---|---|
next | ID of next step. | text | 0..1 |
condition | Optional condition for the transition to trigger. | door, and, or | 0..1 |
action | The action to perform when the transition triggers. | lock, unlock, reset | 0..1 |
door-condition
Key | Description | Format | Cardinality |
|---|---|---|---|
type | Door identifier | door-identifier | 1 |
status | The required status. | OPEN/CLOSED/LOCKED/UNKNOWS | 1 |
<door>
<type>COIN_UPPER</type>
<status>CLOSED</status>
</door>and-condition
Logical AND condition(s).
Key | Description | Format | Cardinality |
|---|---|---|---|
condition | Condition to be fulfilled to fulfill this logical AND. | door, and, or | 1..n |
<and>
<door>
<type>COIN_UPPER</type>
<status>CLOSED</status>
</door>
<door>
<type>COIN_DISPENSER</type>
<status>CLOSED</status>
</door>
</and>
or-condition
Logical OR condition(s).
Key | Description | Format | Cardinality |
|---|---|---|---|
condition | Condition to be fulfilled to fulfill this logical OR. | door, and, or | 1..n |
<or>
<door>
<type>COIN_UPPER</type>
<status>OPEN</status>
</door>
<door>
<type>COIN_DISPENSER</type>
<status>OPEN</status>
</door>
</or>
See also