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", "created_by", "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": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "4321abcdef694aa79dae47ad", "task": "12ab", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c" ], "name": -41948023.08362271, "description": -63644458 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "dolore in quis" }, { "type": "encryption", "pointer": "eiusmod" }, { "type": "encryption", "pointer": "labore" }, { "type": "encryption", "pointer": "nulla id dolore reprehenderit ea" } ] }, "name": "pariatur", "summary": 93423135.03711584, "displayName": false, "type": false, "x": false, "y": -46812061.028021954, "status": true }, { "_id": "4321abcdef694aa79dae47ad", "job": { "_id": "4321abcdef694aa79dae47ad", "task": "12ab", "ancestors": [ "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c" ], "name": -78586353.27207008, "description": -23395894.55604814 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "deserunt incididunt" }, { "type": "encryption", "pointer": "dolore eu" } ] }, "name": true, "summary": "et est Ut", "displayName": -40135335, "type": "in aliquip Lorem", "x": true, "y": false, "status": -8148738.367073789 }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "12ab", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad" ], "name": 44999706.13413057, "description": -67297605 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "dolore consequat Duis" }, { "type": "encryption", "pointer": "officia reprehenderit non ad dolore" }, { "type": "encryption", "pointer": "sunt et est" }, { "type": "encryption", "pointer": "incididunt do aliqua labore Excepteur" }, { "type": "encryption", "pointer": "aliquip non et" } ] }, "name": "quis nostrud dolore veniam ut", "summary": "aliquip cupidatat", "displayName": true, "type": true, "x": "deserunt dolore ullamco", "y": 94005501.70662451, "status": 21592394 }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "12ab", "ancestors": [ "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad" ], "name": true, "description": false }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "ea non consequat" }, { "type": "encryption", "pointer": "sunt" } ] }, "name": "aliqua", "summary": "ut dolore eu officia irure", "displayName": 58883821.31422612, "type": "reprehenderit veniam anim", "x": -52453247.06777148, "y": "ipsum in", "status": "eu" }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "12ab", "ancestors": [ "5cb7b531d06cceb89fd21b1c" ], "name": -57638250, "description": true }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "fugiat in" }, { "type": "encryption", "pointer": "sunt quis" }, { "type": "encryption", "pointer": "id nulla proident" }, { "type": "encryption", "pointer": "aliqua in dolor officia" } ] }, "name": -99769071, "summary": 32837366, "displayName": false, "type": -88850337.27088296, "x": -29356076.782579035, "y": false, "status": "in labore culpa" } ], "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" } } }