Search Conditions
| Key | Type | Description |
|---|---|---|
| processModelInfoId | Number | IDs of Apps Specify nothing or "-1" if you wish to search all Apps. |
| processInstanceState | Array<String> |
The status of Cases
|
|
processInstanceId (Workitem only) |
Number | Case ID When specified searches Cases with the specified ID. |
| processInstanceTitle | Array<String> | Case Title When specified searches Cases with titles that include the specified value. Possible to specify multiple. |
| processInstanceStartDateFrom | String |
Case Start Date (From)
|
| processInstanceStartDateTo | String | Case Start Date (To) When specified searches Cases that were started on or before the specified value. In addition to absolute specification, relative specification is possible. |
| processInstanceEndDateFrom | String | Case End Date (From) When specified searches Cases that were completed on or after the specified value. In addition to absolute specification, relative specification is possible. Does not include running Cases. |
| processInstanceEndDateTo | String | Case End Date (To) When specified searches Cases that were completed on or before the specified value. In addition to absolute specification, relative specification is possible. Does not include running Cases. |
| processInstanceInitQuserId | String | Case Start User Specify with ID of User or #me. When specified searches Cases started by the specified user. |
| processInstanceInitQgroupId | String | Case Start Organization Specify with ID of Organization. When specified searches Cases started by the specified organization. |
| tokenNodeNumber | Number | Number of Node (Task) retaining the token. When specified searches the specified Human Task, Timer Intermediate Event or Receive Task (form/HTTP/Webhook). |
|
nodeNumber (Workitem only) |
Number | Number of Node (Task). When specified searches the specified Task. |
|
state (Workitem only) |
Array<String> |
The status of Tasks
|
|
allocatedQuserId (Workitem only) |
String | Operator Specify with ID(Number) of User or #me. When specified searches Tasks allocated to the specified user. |
|
offerDateFrom (Workitem only) |
String |
Task Offered Date (From)
|
|
offerDateTo (Workitem only) |
String | Task Offered Date (To) When specified searches Tasks that were started on or before the specified value. In addition to absolute specification, relative specification is possible. |
|
endDateFrom (Workitem only) |
String | Task End Date (From) When specified searches Tasks that were finished on or after the specified value. In addition to absolute specification, relative specification is possible. |
|
endDateTo (Workitem only) |
String | Task End Date (To) When specified searches Tasks that were finished on or before the specified value. In addition to absolute specification, relative specification is possible. |
|
timeLimitDateFrom (Workitem only) |
String | Task Deadline (From) When specified searches Tasks whose deadlines were on or after the specified value. In addition to absolute specification, relative specification is possible. |
|
timeLimitDateTo (Workitem only) |
String | Task Deadline (To) When specified searches Tasks whose deadlines were on or before the specified value. In addition to absolute specification, relative specification is possible. |
| starred | Boolean |
Starred
|
| data | Array<Object> |
Data Items
|
| data[].type | String |
Data-type |
| data[].number | Number | Data Definition Number Specifies the Data Definition Number of the Data Item to be specified in the filtering condition. |
| data[].method | String |
Conditions that can be specified for each Data-type |
| data[].value | String |
Specifies the value in the search condition |
| fields | Array<Object> |
Includes the value in the specified Data Items in the response
|
| fields[].type | String |
Data-type |
| fields[].number | Number | Data Definition Number Specifies the Data Definition Number of the Data Item to be included in the response. |
| sortProperty | String |
Sort Item
|
| sortDirection | String |
Sort Order
|
* Workitem Only: Represents a Key or value that can only be specified in Task search (Workitem Search).
| Data-type | type |
method |
Description |
|---|---|---|---|
| String-Type | string |
empty |
No string has been input |
not-empty |
Any string has been input | ||
contains |
Contains the string specified in value
|
||
| Numeric-Type | decimal |
equals |
Equals to the number (as string) specified in value
|
greater-equals |
Greater than or equals to the number (as string) specified in value
|
||
less-equals |
Less than or equals to the number (as string) specified in value
|
||
| Select-Type | select |
selected |
The Choice ID specified by value is selected |
| Date-Type | date |
equals |
Equals to the date specified in value
|
after-equals |
Later than or equals to the date specified in value
|
||
before-equals |
Earlier than or equals to the date specified in value
|
||
| Datetime-Type | datetime |
equals |
Equals to the date and time specified in value
|
after-equals |
Later than or equals to the date and time specified in value
|
||
before-equals |
Earlier than or wquals to the date and time specified in value
|
||
| File-Type | file |
contains |
Contains the string specified in value in its filename |
| User-Type | quser |
equals |
Equals to #me or the User ID specified in value
|
| Organization-Type | qgroup |
equals |
Equals to the Organization ID specified in value
|
| Table-Type | list |
N/A |
list can be specified only in field[].type
|
| Discussion-Type | discussion |
empty |
No string has been input |
not-empty |
Any string has been input | ||
contains |
Contains the string specified in value
|
||
|
*Format example for specifying a date or date and time
| |||
Example Query
Conditions to be specified
- App ID:123
- Case Start Date: between the 1st and 31st of January, 2022
- Case State: running
- The value in the Numeric-type (0) is less than or equals 10
- Data Items to be included
- Numeric-type, Data Definition Number: 0
- File-type, Data Definition Number: 5
- Sort the search result by descending order of Start Date
{
"processModelInfoId":123,
"processInstanceStartDateFrom":"2022-01-01",
"processInstanceStartDateTo":"2022-01-31",
"processInstanceState":["STARTED"],
"data":[
{
"type":"decimal",
"number":0,
"method":"less-equals",
"value":"10"
}
],
"fields":[
{
"type":"decimal",
"number":0
},
{
"type":"file",
"number":5
}
],
"sortProperty":"processInstanceStartDatetime",
"sortDirection":"DESC"
}