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"
],
"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": "4321abcdef694aa79dae47ad",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "12ab",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"5cb7b531d06cceb89fd21b1c"
],
"name": 79568413,
"description": -27058039
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": false,
"summary": true,
"displayName": -49810989,
"type": -15321288.16845955,
"x": -5657308,
"y": 40068040,
"status": false
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c"
],
"name": -1606040.121441543,
"description": "mollit laboris consectetur amet est"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": true,
"summary": 38223053.47668818,
"displayName": -7470612.433434099,
"type": false,
"x": "qui officia",
"y": 86686499,
"status": "tempor est"
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "cd34",
"ancestors": [
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c"
],
"name": "anim dolor laborum",
"description": "id Ut exercitation in amet"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": -24385833,
"summary": "ut est amet",
"displayName": 26836702,
"type": -25424511.05624996,
"x": true,
"y": "culpa non incididunt minim ipsum",
"status": -69072631.39402078
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"ancestors": [
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad"
],
"name": "sed",
"description": -4455924.460856587
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": -50304527.25501129,
"summary": 85745292,
"displayName": "deserunt irure",
"type": false,
"x": -72156023.98420544,
"y": true,
"status": "aliqua dolore mollit enim cillum"
}
],
"skip": 0,
"limit": 50,
"total": 100
}