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": [
"user",
"created_by",
"user",
"created_by",
"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": "4321abcdef694aa79dae47ad",
"task": "12ab",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad"
],
"name": "Ut officia enim sit deserunt",
"description": 29670295
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "dolor"
},
{
"type": "encryption",
"pointer": "ut reprehenderit eiusmod est Ut"
},
{
"type": "encryption",
"pointer": "Ut minim ad eu labore"
},
{
"type": "encryption",
"pointer": "reprehenderit dolor"
}
]
},
"metrics": {
"retrying": true
},
"name": -75365813,
"summary": false,
"displayName": -93822654,
"type": "ut dolor",
"x": 71871077,
"y": -9904164
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "12ab",
"ancestors": [
"4321abcdef694aa79dae47ad"
],
"name": -40380046,
"description": "in non veniam Lorem nisi"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "ea ullamco eiusmod labore in"
},
{
"type": "encryption",
"pointer": "eu magna"
}
]
},
"metrics": {
"retrying": true
},
"name": -19782933,
"summary": 39397529,
"displayName": -38048447,
"type": false,
"x": true,
"y": "est mollit occaecat laboris dolore"
}
],
"skip": 0,
"limit": 50,
"total": 100
}