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": [ "created_by", "owner" ], "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": "4321abcdef694aa79dae47ad", "task": "cd34", "ancestors": [ "4321abcdef694aa79dae47ad", "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad" ], "name": "in", "description": -29745794.86004804 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "laborum anim aliquip sit" }, { "type": "encryption", "pointer": "labore esse" } ] }, "metrics": { "retrying": true }, "name": -57151455.048469126, "summary": "culpa elit ipsum non ad", "displayName": "deserunt", "type": 80846662.21090963, "x": 9905571, "y": false }, { "_id": "4321abcdef694aa79dae47ad", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "cd34", "ancestors": [ "4321abcdef694aa79dae47ad", "4321abcdef694aa79dae47ad", "4321abcdef694aa79dae47ad", "4321abcdef694aa79dae47ad" ], "name": false, "description": "eu quis cillum sint dolor" }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "dolor do" }, { "type": "encryption", "pointer": "Ut" }, { "type": "encryption", "pointer": "sint veniam mollit" } ] }, "metrics": { "retrying": true }, "name": 63682873.53265613, "summary": -7695331, "displayName": false, "type": "eiusmod nostrud dolore sint et", "x": -518752, "y": "fugiat ut aute dolor nulla" }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "4321abcdef694aa79dae47ad", "task": "cd34", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c" ], "name": "sunt amet", "description": false }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "non magna in" }, { "type": "encryption", "pointer": "adipisicing in ad aute" }, { "type": "encryption", "pointer": "veniam officia" }, { "type": "encryption", "pointer": "culpa" }, { "type": "encryption", "pointer": "quis laboris et" } ] }, "metrics": { "retrying": true }, "name": "Ut ex", "summary": true, "displayName": "in eu anim labore ea", "type": 94628315, "x": false, "y": 66063726 }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "4321abcdef694aa79dae47ad", "task": "cd34", "ancestors": [ "5cb7b531d06cceb89fd21b1c" ], "name": "eu est proident Duis", "description": 29443078.684211567 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "aliquip sint nulla ea" }, { "type": "encryption", "pointer": "magna dolore ut laborum" }, { "type": "encryption", "pointer": "amet magna dolor mollit ea" }, { "type": "encryption", "pointer": "laboris sunt ex in est" } ] }, "metrics": { "retrying": true }, "name": 99000685, "summary": "dolore in qui", "displayName": 48130791.80994779, "type": 39133138, "x": "sint labore et dolor", "y": 1494223.5041664839 }, { "_id": "4321abcdef694aa79dae47ad", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "cd34", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad", "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c" ], "name": true, "description": 12848928 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "laborum tempor aliquip" }, { "type": "encryption", "pointer": "eu proident" }, { "type": "encryption", "pointer": "eu voluptate eiusmod" }, { "type": "encryption", "pointer": "culpa" }, { "type": "encryption", "pointer": "deserunt labore exercitation Ut sunt" } ] }, "metrics": { "retrying": true }, "name": -29402933.55278088, "summary": false, "displayName": false, "type": 42020686, "x": 59288663.46341136, "y": false } ], "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" } } }