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",
"user",
"owner"
],
"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": [
"5cb7b531d06cceb89fd21b1c",
"5cb7b531d06cceb89fd21b1c",
"5cb7b531d06cceb89fd21b1c"
],
"name": "ut sunt commodo cupidatat",
"description": 57166250
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "quis occaecat"
},
{
"type": "encryption",
"pointer": "incididunt Excepteur"
},
{
"type": "encryption",
"pointer": "sunt sed ullamco"
},
{
"type": "encryption",
"pointer": "veniam"
},
{
"type": "encryption",
"pointer": "mollit"
}
]
},
"metrics": {
"retrying": false
},
"name": true,
"summary": -73713853,
"displayName": 35655160.16212481,
"type": false,
"x": true,
"y": "consectetur tempor laboris"
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad"
],
"name": false,
"description": true
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "dolor ut exercitation magna"
},
{
"type": "encryption",
"pointer": "dolor"
}
]
},
"metrics": {
"retrying": false
},
"name": "fugiat culpa",
"summary": 96433412.0455063,
"displayName": 87843478.75943962,
"type": 10898943,
"x": 63878415.85037163,
"y": true
}
],
"skip": 0,
"limit": 50,
"total": 100
}