Summary
Search Workflows
Description
Search Workflows with Options
Route
POST /workflow_engine/workflows/search
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
options | object | yes | expand, fields, query, limit, skip, sort |
{ "options": { "expand": [ "owner", "user", "owner" ], "fields": { "name": 1 }, "limit": 50, "local": true, "skip": 0, "sort": { "name": -1 } } }
{ "type": "object", "properties": { "options": { "$ref": "wfEngineCommon#/definitions/expandedSearchOptions" } }, "required": [ "options" ], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
workflows | object | Search Results |
[ { "results": [ { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 0.36142061281337046, "y": 0.502092050209205 } }, "transitions": {}, "groups": [ "e40054f97b11f9d99f6b4d61" ], "_id": "a1cec841-25ab-6492-ecd5-00a1873f3035", "description": "culpa est ad pariatur", "font_size": 12, "created": "2014-08-13T05:30:19.171Z", "created_by": "7fa46b6e97e87ccc6e2e3e16", "last_updated": "1964-04-16T22:59:51.874Z", "last_updated_by": "afecca784b5b5d584799555d", "tags": [] }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 0.36142061281337046, "y": 0.502092050209205 } }, "transitions": {}, "groups": [ "36ee538e145997d546786f22", "4e8fdc9d57151b38abc53c15", "dec5a3642e0ab64b86655081", "1cf9fe4e0a2bfe25d2141611" ], "_id": "40e2e302-e7a1-2d2b-25d3-36d3a3df8bd6", "description": "ex consequat Duis esse cillum", "font_size": 12, "created": "1983-12-29T07:22:40.121Z", "created_by": "ba6c00a9f21e1f8e6a74a2b8", "last_updated": "1945-10-06T14:33:58.852Z", "last_updated_by": "4f8dbfe58a7f5a704a2409fa", "tags": [] }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 0.36142061281337046, "y": 0.502092050209205 } }, "transitions": {}, "groups": [ "ef485205aecb7f7090160632" ], "_id": "b7905700-3172-0fbd-bc67-4a83faf41f21", "description": "et enim in labore eiusmod", "font_size": 12, "created": "1955-06-08T13:28:16.755Z", "created_by": "8959a193a8529d5d0f226d38", "last_updated": "1971-08-08T03:32:28.045Z", "last_updated_by": "34e0f722ede5a1cfc22111da", "tags": [] }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 0.36142061281337046, "y": 0.502092050209205 } }, "transitions": {}, "groups": [ "9b0cd03a44fe641d12b6926b", "397070c6b41268efb238781e", "c0cf7b33af1f33a8834d2071", "25e7198ea1bb0ff7077822ce", "9bf76ac5e06bb2bf0fc7bc00" ], "_id": "1e2e5577-8237-2564-946c-b8c58cd67cca", "description": "minim reprehenderit enim", "font_size": 12, "created": "1955-08-08T05:46:10.457Z", "created_by": "7975d5b07f7fa9024a5a82de", "last_updated": "2005-11-04T05:19:41.696Z", "last_updated_by": "9b39459a1b3fcf4b5c6c5d8f", "tags": [] }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [], "x": 0.36142061281337046, "y": 0.502092050209205 } }, "transitions": {}, "groups": [ "54149e16f3d72d247bcc41b3", "fa1bdaacaa7cad60cd39e210", "178483d4ba0bf25ffd4f10b5" ], "_id": "2c1f5cd2-a96d-6642-1b2c-eb73f68467bd", "description": null, "font_size": 12, "created": "2021-01-29T01:44:52.638Z", "created_by": "12be5f0672e3b77ca92de7c9", "last_updated": "2021-02-10T08:31:45.51Z", "last_updated_by": "ce3bc29f186df5322818d4fe", "tags": [] } ], "skip": 0, "limit": 50, "total": 100 } ]
{ "type": "array", "items": { "type": "object", "properties": { "results": { "type": "array", "items": { "$ref": "workflowDocument" } }, "skip": { "$ref": "wfEngineCommon#/definitions/skip" }, "limit": { "$ref": "wfEngineCommon#/definitions/limit" }, "total": { "$ref": "wfEngineCommon#/definitions/total" } } } }