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", "user", "user", "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": [ "4321abcdef694aa79dae47ad", "4321abcdef694aa79dae47ad" ], "name": false, "description": "Ut qui occaecat sint reprehenderit" }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "ipsum irure eiusmod ex eu" } ] }, "metrics": { "retrying": true }, "name": -15891098, "summary": -8170731, "displayName": "aliquip in officia est", "type": "ad aute", "x": -78624289, "y": false }, { "_id": "4321abcdef694aa79dae47ad", "job": { "_id": "4321abcdef694aa79dae47ad", "task": "cd34", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c", "5cb7b531d06cceb89fd21b1c" ], "name": "labore reprehenderit in ullamco proident", "description": "incididunt" }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "cillum" } ] }, "metrics": { "retrying": false }, "name": -15986479.86550285, "summary": false, "displayName": -50599613.48751676, "type": -99194421.8549087, "x": 50809181.46807748, "y": "incididunt do ut laboris" }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "12ab", "ancestors": [ "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c" ], "name": -72048797, "description": 23770643 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "reprehenderit in fugiat ad" }, { "type": "encryption", "pointer": "et" } ] }, "metrics": { "retrying": true }, "name": "ipsum in aliqua dolore", "summary": true, "displayName": -70343094.46456958, "type": "elit", "x": -51334847.43153964, "y": -63318555.28443455 }, { "_id": "4321abcdef694aa79dae47ad", "job": { "_id": "4321abcdef694aa79dae47ad", "task": "cd34", "ancestors": [ "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c", "4321abcdef694aa79dae47ad", "5cb7b531d06cceb89fd21b1c" ], "name": false, "description": -77524992.89774618 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "in elit magna Duis velit" } ] }, "metrics": { "retrying": false }, "name": 33944809, "summary": -2634988.266673103, "displayName": false, "type": "sed dolore", "x": "ex", "y": 13955651.83651191 }, { "_id": "5cb7b531d06cceb89fd21b1c", "job": { "_id": "5cb7b531d06cceb89fd21b1c", "task": "cd34", "ancestors": [ "5cb7b531d06cceb89fd21b1c" ], "name": "deserunt nulla aute ullamco irure", "description": 31557222.277934253 }, "variables": { "incoming": { "inputVariable": "inputValue" }, "outgoing": { "outputVariable": null }, "error": "", "decorators": [ { "type": "encryption", "pointer": "incididunt laborum dolore sit laboris" }, { "type": "encryption", "pointer": "Duis adipisicing eu" }, { "type": "encryption", "pointer": "culpa ut sint anim" }, { "type": "encryption", "pointer": "sunt" }, { "type": "encryption", "pointer": "enim proident quis laboris eu" } ] }, "metrics": { "retrying": true }, "name": "ad commodo mollit", "summary": "esse dolor eu qui", "displayName": -91305047, "type": 12941140.853065744, "x": -82137678, "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" } } }