Skip to main content

DataPredicatePropType

Configuration example

{
"dataPredicate": {
"operator": "AND",
"conditions": [
{
"dataField": "status",
"condition": "notEqual",
"value": "draft"
}
]
}
}
NameTypeDefaultDescription
operator'AND'
| 'OR'
conditions Should all be satisfied or only one of them be satisfied
conditionsConditionsThe list of conditions that need to be met to match the current data will be determined by operator to determine whether all or only one

Conditions

NameTypeDefaultSupports Variable PatternDescription
dataFieldstringThe id of the data field
fieldstring✔️The id of the data field can be written as Variable Pattern
condition'equals'
| 'stringEquals'
| 'notEqual'
| 'stringNotEqual'
| 'contains'
| 'notContains'
| 'startsWith'
| 'endsWith'
| 'lessThan'
| 'lessThanOrEqual'
| 'greaterThan'
| 'greaterThanOrEqual'
| 'blank'
| 'notBlank'
condition
valuestring
| number
| bool
✔️value