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"
],
"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": "4321abcdef694aa79dae47ad",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad"
],
"name": "mollit et labore cupidatat occaecat",
"description": "dolore ut ut ad quis"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": true,
"summary": -72703767,
"displayName": "ut laboris in in cupidatat",
"type": -15853675.076246172,
"x": false,
"y": true,
"status": "laborum irure cupidatat occaecat"
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"ancestors": [
"5cb7b531d06cceb89fd21b1c"
],
"name": -11183168,
"description": "labore"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": 95173507.69452357,
"summary": "ipsum",
"displayName": true,
"type": "dolor velit ut dolore",
"x": 78867753,
"y": "exercitation anim",
"status": 66335994.83707008
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "12ab",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad"
],
"name": -40143729.248006955,
"description": "sed ad"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": true,
"summary": "commodo laboris consectetur",
"displayName": "sunt consectetur nulla",
"type": 50230062,
"x": false,
"y": "nulla sint",
"status": -9036423
}
],
"skip": 0,
"limit": 50,
"total": 100
}