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",
"owner",
"created_by"
],
"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": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"ancestors": [
"4321abcdef694aa79dae47ad"
],
"name": -42163570.54262923,
"description": 93047006
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "reprehenderit esse ullamco do"
},
{
"type": "encryption",
"pointer": "sit"
}
]
},
"metrics": {
"retrying": true
},
"name": -50883062.37763205,
"summary": -55988837.398566015,
"displayName": "cillum tempor labore",
"type": true,
"x": -25622470.512938783,
"y": "quis exercitation Excepteur"
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "12ab",
"ancestors": [
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"5cb7b531d06cceb89fd21b1c"
],
"name": "nostrud enim et esse elit",
"description": -95348342.81001396
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "ex aliqua dolore in aliquip"
},
{
"type": "encryption",
"pointer": "ex Lorem qui ut"
}
]
},
"metrics": {
"retrying": false
},
"name": 37425891.7578437,
"summary": -68587312.73068446,
"displayName": true,
"type": -83833977,
"x": -18984366,
"y": -10292605
}
],
"skip": 0,
"limit": 50,
"total": 100
}