Operator | Description | Example Value |
---|---|---|
eq | Equal to | "Beijing" or ["<targetid>"] |
ne | Not equal to | "London" or ["<targetid>"] |
gt | Greater than | 20 or "2025-02-06 00:00:00" |
ge | Greater than or equal to | 10 |
lt | Less than | 20 |
le | Less than or equal to | 100 |
in | Is one of | ["value1", "value2"] |
notin | Is not any of | ["value1", "value2"] |
contains | Contains | "Ch" or ["Sales Department", "Marketing Department"] |
notcontains | Does not contain | "Ch" or ["Sales Department", "Marketing Department"] |
concurrent | Contains | ["<id1>", "<id2>"] |
belongsto | Belongs to | ["<departmentid>"] |
notbelongsto | Does not belong to | ["<departmentid>"] |
startswith | Starts with | "张" |
notstartswith | Does not start with | "李" |
endswith | Ends with | "Company" |
notendswith | Does not end with | "Limited Company" |
between | In range | ["2025-01-01", "2025-01-31"] |
notbetween | Not in range | ["10", "20"] |
Operator | Description | Notes |
---|---|---|
isempty | Is empty | Does not require a value field |
isnotempty | Is not empty | Does not require a value field |
ID | Description |
---|---|
user-self | Current user |
user-sub | Subordinates |
user-workflow | Workflow |
user-api | API |
{
"type": "group",
"logic": "AND",
"children": [
{
"type": "condition",
"field": "name",
"operator": "startswith",
"value": "Zhang"
},
{
"type": "condition",
"field": "onboard_date",
"operator": "between",
"value": ["2025-01-01", "2025-01-31"]
}
]
}
{
"type": "group",
"logic": "AND",
"children": [
{
"type": "group",
"logic": "AND",
"children": [
{
"type": "condition",
"field": "name",
"operator": "startswith",
"value": "张"
},
{
"type": "condition",
"field": "onboard_date",
"operator": "between",
"value": ["2025-01-01", "2025-01-31"]
}
]
},
{
"type": "group",
"logic": "OR",
"children": [
{
"type": "condition",
"field": "department_name",
"operator": "contains",
"value": ["Sales Department", "Marketing Department"]
},
{
"type": "condition",
"field": "department_id",
"operator": "belongsto",
"value": ["North China ID"]
}
]
} ]
}
children
can only be either all group
or all condition
; a mixture is not allowed.type
is group
, the logic
field must be specified as AND
or OR
.value
field is not required when using isempty
and isnotempty
.between
, in
, contains
, concurrent
, belongsto
, etc.).option
key value in an array as the value
and use array-valued operators.record_id
and then filter by the array value rule.