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": [ "user", "owner", "owner", "created_by" ], "fields": { "name": 1 }, "query": { "name": "abcd" }, "limit": 50, "local": false, "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": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "12ab", "ancestors": [ "5cb7b531d06cceb89fd21b1c" ], "name": -22333062, "description": 77866807 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "fugiat eu" }, { "type": "encryption", "pointer": "Excepteur adipisicing" }, { "type": "encryption", "pointer": "non enim" } ] }, "metrics": { "retrying": false }, "name": true, "summary": -90233617, "displayName": -37578268, "type": -54334406, "x": "magna eu veniam", "y": "tempor deserunt" }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "12ab", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad" ], "name": -70291406.33150828, "description": true }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "sint tempor ad ut nostrud" }, { "type": "encryption", "pointer": "culpa in sunt est" } ] }, "metrics": { "retrying": true }, "name": true, "summary": "veniam ipsum", "displayName": "sit cupidatat", "type": "commodo et tempor nulla", "x": "quis ut sed ea Excepteur", "y": 70517441 }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "4321abcdef694aa79dae47ad", "task": "12ab", "ancestors": [ "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad", "4321abcdef694aa79dae47ad" ], "name": "pariatur deserunt Duis reprehenderit ipsum", "description": 35932085 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "proident cupidatat" } ] }, "metrics": { "retrying": true }, "name": -86935007, "summary": true, "displayName": true, "type": -6179012, "x": true, "y": false }, { "_id": "4321abcdef694aa79dae47ad", "job": { "_id": "4321abcdef694aa79dae47ad", "task": "12ab", "ancestors": [ "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad", "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c" ], "name": 82250541.46154216, "description": "consectetur tempor fugiat in nulla" }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "laborum" } ] }, "metrics": { "retrying": false }, "name": 16433145, "summary": "Lorem sint adipisicing", "displayName": "ex dolore occaecat et", "type": true, "x": 71767467.37968233, "y": true }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "12ab", "ancestors": [ "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c" ], "name": "veniam voluptate laboris Lorem aliqua", "description": true }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "anim pariatur sunt dolor" }, { "type": "encryption", "pointer": "exercitation dolore irure" }, { "type": "encryption", "pointer": "Excepteur" }, { "type": "encryption", "pointer": "aliqua cupidatat laboris dolore" }, { "type": "encryption", "pointer": "ipsum Duis dolor aliqua" } ] }, "metrics": { "retrying": false }, "name": -59818319, "summary": 46395454, "displayName": false, "type": 58713492, "x": -31469653.46339439, "y": false } ], "skip": 0, "limit": 50, "total": 100 }
{ "type": "object", "properties": { "results": { "type": "array", "items": { "$ref": "taskDocument" } }, "skip": { "$ref": "wfEngineCommon#/definitions/skip" }, "limit": { "$ref": "wfEngineCommon#/definitions/limit" }, "total": { "$ref": "wfEngineCommon#/definitions/total" } } }