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"
],
"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",
"name": 23608235,
"description": true,
"index": -32374887.881107867
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": true,
"summary": true,
"displayName": true,
"type": 34041713.16628575,
"x": "labore",
"y": "enim Lorem dolor anim in",
"status": 5249783.042188972
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"name": "irure pariatur id",
"description": 17799937.409981757,
"index": "incididunt ipsum quis elit dolor"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": "aute et Ut",
"summary": "proident qui",
"displayName": -95289243,
"type": 59631864.19259858,
"x": -19264070,
"y": 32759359,
"status": -76859648.8137614
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"name": -27458279,
"description": 8462834,
"index": -47006157
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": "minim dolor culpa ut",
"summary": false,
"displayName": true,
"type": -85047910,
"x": "commodo ex irure in",
"y": true,
"status": false
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"name": "dolore sed",
"description": -45416747.42234818,
"index": true
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": -2275206.587338552,
"summary": "adipisicing culpa",
"displayName": "in enim",
"type": -5342833,
"x": "est laboris",
"y": 21769361.955614343,
"status": -34773172.67550779
}
],
"skip": 0,
"limit": 50,
"total": 100
}