2020-05-11 08:29:13 -04:00
|
|
|
# Operators <a id="operators">
|
|
|
|
|
|
|
|
|
|
Every Business Process requires an Operator. This operator defines its behaviour and specifies how its very own state is
|
|
|
|
|
going to be calculated.
|
|
|
|
|
|
|
|
|
|
## AND <a id="and-operator">
|
|
|
|
|
|
|
|
|
|
The `AND` operator selects the **WORST** state of its child nodes:
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
2020-05-29 06:05:06 -04:00
|
|
|
## OR <a id="or-operator">
|
2020-05-11 08:29:13 -04:00
|
|
|
|
|
|
|
|
The `OR` operator selects the **BEST** state of its child nodes:
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
2021-07-15 05:24:37 -04:00
|
|
|
## DEGRADED <a id="deg-operator">
|
|
|
|
|
|
|
|
|
|
The `DEGRADED` operator behaves like an `AND`, but if the resulting
|
|
|
|
|
state is **CRITICAL** it transforms it into a **WARNING**.
|
|
|
|
|
Refer to the table below for the case-by-case
|
|
|
|
|
analysis of the statuses.
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
2020-05-11 08:29:13 -04:00
|
|
|
## MIN n <a id="min-operator">
|
|
|
|
|
|
|
|
|
|
The `MIN` operator selects the **WORST** state out of the **BEST n** child node states:
|
|
|
|
|
|
|
|
|
|

|