Summary
Search Tasks
Description
Search Tasks with Options
Route
POST /workflow_engine/tasks/search
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
filter |
object |
yes |
Search Filter |
options |
object |
yes |
expand, fields, query, local, limit, skip, sort |
Copied to Clipboard
{
"filter": {
"someFieldName": "Some Value to query the against the someFieldName property"
},
"options": {
"expand": [
"owner",
"user",
"owner"
],
"fields": {
"name": 1
},
"query": {
"name": "abcd"
},
"limit": 50,
"local": false,
"skip": 0,
"sort": {
"name": -1
}
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
tasks |
object |
Search Results |
Copied to Clipboard
{
"results": [
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "cd34",
"name": 67377380,
"description": "dolore amet irure deserunt veniam",
"index": "occaecat anim tempor aute"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": -55212372.62003353,
"summary": 88857088.68506604,
"displayName": false,
"type": true,
"x": 85864075.74588174,
"y": -75797682,
"status": -74858765.42672116
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"name": -40800276,
"description": true,
"index": -17907272
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": -58965229,
"summary": "dolor aliquip id in",
"displayName": -87223942,
"type": 64226667,
"x": "occaecat eu fugiat consectetur",
"y": 54693504,
"status": true
}
],
"skip": 0,
"limit": 50,
"total": 100
}