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", "owner" ], "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": "4321abcdef694aa79dae47ad", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "12ab", "ancestors": [ "4321abcdef694aa79dae47ad", "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c" ], "name": -59921512.57408853, "description": -79953766.38796002 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "consequat" }, { "type": "encryption", "pointer": "dolore" } ] }, "metrics": { "retrying": true }, "name": false, "summary": 35731936, "displayName": 46050355.96210408, "type": "labore dolor", "x": -43188014, "y": -29026748 }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "cd34", "ancestors": [ "5cb7b531d06cceb89fd21b1c" ], "name": "nisi dolor aliquip adipisicing", "description": -36330237 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "cupidatat id sit reprehenderit" }, { "type": "encryption", "pointer": "laborum id Lorem laboris" }, { "type": "encryption", "pointer": "pariatur aliqua aute irure magna" }, { "type": "encryption", "pointer": "laboris" } ] }, "metrics": { "retrying": false }, "name": "proident irure dolore ullamco amet", "summary": -70651403.6223282, "displayName": false, "type": false, "x": 72433289, "y": 96125423.32112491 }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "12ab", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad" ], "name": 34633863.10525882, "description": -1212423.9513140023 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "in ipsum" }, { "type": "encryption", "pointer": "ut enim aute qui nostrud" } ] }, "metrics": { "retrying": true }, "name": -89966524.66352355, "summary": "et Excepteur", "displayName": 5297872.350804627, "type": true, "x": "minim eiusmod", "y": -26120699.006596178 }, { "_id": "4321abcdef694aa79dae47ad", "job": { "_id": "4321abcdef694aa79dae47ad", "task": "12ab", "ancestors": [ "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c" ], "name": "reprehenderit cillum adipisicing aute laborum", "description": -34862152 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "cupidatat aute elit exercitation in" }, { "type": "encryption", "pointer": "labore in consectetur ex" }, { "type": "encryption", "pointer": "sunt deserunt" } ] }, "metrics": { "retrying": false }, "name": -96751479.0680776, "summary": -96500099.04694282, "displayName": "consectetur", "type": -96121165, "x": true, "y": -96187479 }, { "_id": "4321abcdef694aa79dae47ad", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "cd34", "ancestors": [ "4321abcdef694aa79dae47ad" ], "name": 36779415, "description": -36051097 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "enim" }, { "type": "encryption", "pointer": "veniam anim adipisicing in sunt" } ] }, "metrics": { "retrying": true }, "name": "id sit reprehenderit et sint", "summary": 97558659, "displayName": 33495370.744235545, "type": 15673189, "x": 12474526, "y": "sed eu cillum" } ], "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" } } }