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"
],
"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",
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad"
],
"name": 27775776,
"description": "do esse Lorem sint dolore"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "anim laborum aliquip consectetur dolore"
},
{
"type": "encryption",
"pointer": "dolor consequat Ut reprehenderit do"
},
{
"type": "encryption",
"pointer": "veniam"
},
{
"type": "encryption",
"pointer": "Lorem voluptate minim qui dolore"
}
]
},
"metrics": {
"retrying": false
},
"name": false,
"summary": false,
"displayName": true,
"type": "sed laborum",
"x": 57717454.64502746,
"y": 64802338
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"ancestors": [
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad"
],
"name": -34718121,
"description": true
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "fugiat exercitation eu"
},
{
"type": "encryption",
"pointer": "pariatur velit in irure non"
},
{
"type": "encryption",
"pointer": "quis veniam"
},
{
"type": "encryption",
"pointer": "ea quis officia anim"
},
{
"type": "encryption",
"pointer": "fugiat velit tempor ex magna"
}
]
},
"metrics": {
"retrying": true
},
"name": -57356123,
"summary": false,
"displayName": "nisi ad velit",
"type": -84339106.11015816,
"x": "laboris mollit",
"y": 20772591
}
],
"skip": 0,
"limit": 50,
"total": 100
}