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",
"created_by",
"created_by"
],
"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": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad"
],
"name": "ex in sit",
"description": "do nisi veniam reprehenderit"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "eiusmod laboris sint non incididunt"
},
{
"type": "encryption",
"pointer": "non qui fugiat"
},
{
"type": "encryption",
"pointer": "culpa tempor"
}
]
},
"metrics": {
"retrying": true
},
"name": 59610901.02687448,
"summary": -97975649.15125072,
"displayName": 20782964,
"type": "do",
"x": -2518777.7190154344,
"y": -46565162.57321756
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "12ab",
"ancestors": [
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad"
],
"name": true,
"description": "irure aliqua deserunt aliquip ea"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "Excepteur ut"
}
]
},
"metrics": {
"retrying": true
},
"name": false,
"summary": 29799874.415606543,
"displayName": 65060004,
"type": 93060863.50732493,
"x": 60743661.935783595,
"y": 67557653.01502946
}
],
"skip": 0,
"limit": 50,
"total": 100
}