Summary
Search Tasks
Description
Search Tasks with Options
Route
POST /workflow_engine/tasks/search
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | object | yes | Search Filter |
options | object | yes | expand, fields, query, local, limit, skip, sort |
{ "filter": { "someFieldName": "Some Value to query the against the someFieldName property" }, "options": { "expand": [ "owner", "user" ], "fields": { "name": 1 }, "query": { "name": "abcd" }, "limit": 50, "local": true, "skip": 0, "sort": { "name": -1 } } }
{ "type": "object", "properties": { "filter": { "$ref": "wfEngineCommon#/definitions/queryObjectFieldNames" }, "options": { "$ref": "wfEngineCommon#/definitions/expandedSearchOptions" } }, "required": [ "filter", "options" ], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
tasks | object | Search Results |
{ "results": [ { "_id": "4321abcdef694aa79dae47ad", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "12ab", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c" ], "name": 22690268.63851434, "description": 826987 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "exercitation Ut sunt reprehenderit" }, { "type": "encryption", "pointer": "consectetur id ut" }, { "type": "encryption", "pointer": "in et" }, { "type": "encryption", "pointer": "sunt" }, { "type": "encryption", "pointer": "proident" } ] }, "metrics": { "retrying": true }, "name": 43239715.3351154, "summary": "id ad ullamco deserunt sed", "displayName": true, "type": true, "x": true, "y": "aute culpa" }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "4321abcdef694aa79dae47ad", "task": "cd34", "ancestors": [ "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c" ], "name": -7518916, "description": -88391948 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "consectetur Lorem in pariatur" }, { "type": "encryption", "pointer": "adipisicing do elit" } ] }, "metrics": { "retrying": true }, "name": false, "summary": "deserunt in reprehenderit aute", "displayName": "consectetur pariatur cupidatat non", "type": true, "x": "mollit in in", "y": "Lorem elit dolor velit" }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "4321abcdef694aa79dae47ad", "task": "12ab", "ancestors": [ "5cb7b531d06cceb89fd21b1c" ], "name": -38789807.24138801, "description": 85880730.37932119 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "adipisicing in consequat fugiat" }, { "type": "encryption", "pointer": "laboris minim ea pariatur irure" }, { "type": "encryption", "pointer": "laboris" }, { "type": "encryption", "pointer": "magna nulla dolore sunt deserunt" } ] }, "metrics": { "retrying": false }, "name": "laboris", "summary": -25213875.365154862, "displayName": "Ut enim magna do Excepteur", "type": -80562466.88801795, "x": -21886753.529874563, "y": false }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "12ab", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad", "4321abcdef694aa79dae47ad" ], "name": "non aliqua", "description": true }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "laboris aliqua Duis ut cillum" }, { "type": "encryption", "pointer": "ipsum" }, { "type": "encryption", "pointer": "commodo proident nulla" }, { "type": "encryption", "pointer": "Excepteur" }, { "type": "encryption", "pointer": "Excepteur" } ] }, "metrics": { "retrying": false }, "name": 2504572, "summary": 8271401.871638954, "displayName": 86847637, "type": "amet Duis", "x": 60749089.47426492, "y": false }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "4321abcdef694aa79dae47ad", "task": "cd34", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c" ], "name": "ad amet magna", "description": -36318907.30931602 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "cillum ex consectetur ut ea" }, { "type": "encryption", "pointer": "fugiat voluptate exercitation sed sint" }, { "type": "encryption", "pointer": "quis cupidatat" }, { "type": "encryption", "pointer": "Ut magna eiusmod minim mollit" }, { "type": "encryption", "pointer": "deserunt nulla laboris magna" } ] }, "metrics": { "retrying": false }, "name": 8396583, "summary": 75771508.46183228, "displayName": false, "type": false, "x": "sint irure", "y": 22018804 } ], "skip": 0, "limit": 50, "total": 100 }
{ "title": "tasks", "type": "object", "properties": { "results": { "type": "array", "items": { "$ref": "taskDocument" } }, "skip": { "$ref": "wfEngineCommon#/definitions/skip" }, "limit": { "$ref": "wfEngineCommon#/definitions/limit" }, "total": { "$ref": "wfEngineCommon#/definitions/total" } } }