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",
"user"
],
"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": "4321abcdef694aa79dae47ad",
"task": "12ab",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad"
],
"name": "ut",
"description": "ullamco fugiat irure ut"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "officia irure"
},
{
"type": "encryption",
"pointer": "id pariatur"
},
{
"type": "encryption",
"pointer": "veniam consequat ipsum sed"
},
{
"type": "encryption",
"pointer": "Lorem eiusmod magna id amet"
}
]
},
"metrics": {
"retrying": false
},
"name": 93101515.06438348,
"summary": false,
"displayName": 8516271.393620744,
"type": true,
"x": false,
"y": 18677968
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "cd34",
"ancestors": [
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c"
],
"name": false,
"description": true
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "irure est"
},
{
"type": "encryption",
"pointer": "dolor Duis"
},
{
"type": "encryption",
"pointer": "id ipsum sit laborum"
},
{
"type": "encryption",
"pointer": "consectetur tempor culpa adipisicing"
},
{
"type": "encryption",
"pointer": "ut Duis mollit sit"
}
]
},
"metrics": {
"retrying": true
},
"name": "ipsum",
"summary": "eiusmod eu fugiat magna culpa",
"displayName": false,
"type": -84866967,
"x": -88869797,
"y": 96964315
}
],
"skip": 0,
"limit": 50,
"total": 100
}