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", "user", "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": "5cb7b531d06cceb89fd21b1c", "task": "12ab", "ancestors": [ "4321abcdef694aa79dae47ad" ], "name": 82010323, "description": "minim dolore commodo mollit" }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "quis adipisicing eiusmod" }, { "type": "encryption", "pointer": "incididunt do" }, { "type": "encryption", "pointer": "enim" }, { "type": "encryption", "pointer": "veniam sed enim velit" } ] }, "metrics": { "retrying": true }, "name": -34897368.59034802, "summary": 30554689, "displayName": 68059472.48249847, "type": 70323560, "x": -41623574.14214495, "y": -94617885 }, { "_id": "4321abcdef694aa79dae47ad", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "cd34", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c" ], "name": 91235112, "description": "irure officia incididunt Duis cillum" }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "ad quis" }, { "type": "encryption", "pointer": "ad sunt ea" }, { "type": "encryption", "pointer": "ea" }, { "type": "encryption", "pointer": "Excepteur" }, { "type": "encryption", "pointer": "qui consectetur dolor ea ipsum" } ] }, "metrics": { "retrying": false }, "name": false, "summary": 3416153, "displayName": -97932572.04603538, "type": false, "x": "ipsum ex Excepteur esse", "y": true }, { "_id": "4321abcdef694aa79dae47ad", "job": { "_id": "4321abcdef694aa79dae47ad", "task": "cd34", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad" ], "name": -73017968, "description": false }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "in" }, { "type": "encryption", "pointer": "nisi magna Lorem sint incididunt" }, { "type": "encryption", "pointer": "mollit" }, { "type": "encryption", "pointer": "cupidatat non labore nulla ut" } ] }, "metrics": { "retrying": false }, "name": false, "summary": 73397598, "displayName": 25542877.706290573, "type": 63463388.0490405, "x": true, "y": 67477049.92472285 }, { "_id": "4321abcdef694aa79dae47ad", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "cd34", "ancestors": [ "5cb7b531d06cceb89fd21b1c" ], "name": "fugiat occaecat dolore veniam aute", "description": 42991134 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "Duis in" }, { "type": "encryption", "pointer": "sit" } ] }, "metrics": { "retrying": true }, "name": 10963261, "summary": false, "displayName": -12497353, "type": 90041451.35813487, "x": "commodo", "y": "id" }, { "_id": "4321abcdef694aa79dae47ad", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "cd34", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad", "4321abcdef694aa79dae47ad", "4321abcdef694aa79dae47ad", "4321abcdef694aa79dae47ad" ], "name": "laborum exercitation dolor sit aliquip", "description": "nisi cillum non tempor" }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "irure consectetur" }, { "type": "encryption", "pointer": "velit nulla aliqua irure" }, { "type": "encryption", "pointer": "mollit cupidatat" }, { "type": "encryption", "pointer": "anim id aliqua" }, { "type": "encryption", "pointer": "et" } ] }, "metrics": { "retrying": true }, "name": 25740326, "summary": false, "displayName": "magna cillum in nisi dolor", "type": 98230996, "x": 12113384, "y": -37583793.12928563 } ], "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" } } }