Property description
The logicalFormula stream filters objects based on all or some defined conditions and filters (clauses).
Proper filters configuration is vital for the automation rule. If you don’t filter your objects properly, irreversible changes will affect unintended objects and users!
Minimal JSON
{
"key": "",
"type": "logicalFormula",
"operator": "",
"clauses": []
}{
"key": "logical_formula",
"type": "logicalFormula",
"operator": "OR",
"clauses": [
{
"type": "applicationFilter",
"applicationKeys": [
"core_business_glossary_app",
"core_documentation_app"
],
"operand": "in"
},
{
"type": "attributeFilter",
"attributeTypeKey": "core_definition",
"operand": "equals",
"value": "Test description."
}
]
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the stream. | string | Yes |
type | logicalFormula | string | Yes |
operator | Operator that connects and evaluates conditions or filters. Supported values are: AND: All clauses must be satisfied., OR: At least one of the clauses must be satisfied. | string | Yes |
clauses | Array of clauses (= filter formulas). | array | Yes |
Types of supported clauses
Clauses in a stream filter objects based on defined rules. Only changes to these filtered objects will execute the automation’s configured actions.
| Clause type | Filter |
|---|---|
applicationFilter | Filters objects based on the application(s) they belong to. |
attributeComparatorFilter | Filters objects based on a comparison between an attribute and a specified value. |
attributeFilter | Filters objects based on the their attributes. |
objectTypeFilter | Filters objects based on the Their object types. |
relationFilter | Filters objects based on the their object relations. |
spaceFilter | Filters objects based on the the spaces they belong to. |
userRelationFilter | Filters objects based on the their user relations. |
workflowStateFilter | Filters objects based on the their workflow states. |
workflowTransitionStateFilter | Filters objects based on the workflow state transition. |