Behavior Rules
are very flexible in structure to cover most use cases that you will come across. Behavior Rules
are clustered in Groups
. Behavior Rules
are executed sequential within each Group
. As soon as one Behavior Rule
succeeds, all remaining Behavior Rules
in this Group
will be skipped.
{
"behaviorGroups": [
{
"name": "GroupName",
"behaviorRules": [
{
"name": "RuleName",
"actions": [
"action-to-be-triggered"
],
"conditions": [
<CONDITIONS>
]
},
{
"name": "DifferentRule",
"actions": [
"another-action-to-be-triggered"
],
"conditions": [
<CONDITIONS>
]
},
<MORE_RULES>
]
}
]
}
Each Behavior Rule
has a list of conditions
, that - depending on the condition
- might have a list of sub-conditions
. ****
If all conditions are true, then the Behavior Rule is successful and it will trigger predefined actions.
conditions
are always children of either a Behavior Rule
or another condition
. It will always follows that same structure.