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": [
"created_by",
"user",
"created_by",
"owner",
"user"
],
"fields": {
"name": 1
},
"query": {
"name": "abcd"
},
"limit": 50,
"local": true,
"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": true,
"description": "laboris",
"index": "culpa dolor qui"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": false,
"summary": -54821199.39859982,
"displayName": false,
"type": "ullamco minim nisi est",
"x": -20184047,
"y": "laborum deserunt sed laboris",
"status": true
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"name": 94929855,
"description": "consequat deserunt",
"index": false
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": 83233375.40910175,
"summary": 19848490,
"displayName": false,
"type": "cillum ut",
"x": true,
"y": "adipisicing",
"status": -9618988.434054866
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "cd34",
"name": true,
"description": "anim fugiat non dolor officia",
"index": -22047025.75204824
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": -75182475,
"summary": 93521092,
"displayName": false,
"type": true,
"x": false,
"y": "ex ea",
"status": false
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"name": true,
"description": -94892607,
"index": false
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": true,
"summary": "minim qui ipsum",
"displayName": "esse quis ut",
"type": 51223545.40351421,
"x": -20911614.72200817,
"y": 38150924.75855234,
"status": 6593213
}
],
"skip": 0,
"limit": 50,
"total": 100
}