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": [ "user", "owner", "owner" ], "fields": { "name": 1 }, "query": { "name": "abcd" }, "limit": 50, "local": false, "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 }, "error_handler": { "name": "childJob", "summary": "magna nostrud do sint", "description": "ipsum ut", "app": "aliqua", "variables": { "error": "" }, "groups": [ "ff0d4a5b525b1a8315bb4d2b" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "error", "success" ], "autoRetry": true, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "38ee1852714a4b0b658630a7", "34ab9bb69a3d5442176419f5", "6293097798ddfc9ee70cf49b" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1981-08-11T14:30:51.672Z", "created_by": "2b1d7df4d6234ca766e5f631", "last_updated": "2023-12-14T06:18:17.091Z", "last_updated_by": "df73ab00414a99d6663ae9d7", "lastUpdatedVersion": "dolore tempor dolore incididunt", "tags": [], "canvasVersion": 1 }, { "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 }, "error_handler": { "name": "childJob", "summary": "magna consectetur sint", "description": "in quis", "app": "in magna et", "variables": { "error": "" }, "groups": [ "c89a41242e21a47febf887e7", "6483a1f280c9019e50cd1f9d", "74d6a320408b2192774054f5", "76041b2bf7c263605ba049db" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "failure", "failure", "error", "success" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "5572944b4ba9782aff20752c", "5c2beacd21266a831079e2e7" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1963-08-01T13:41:33.288Z", "created_by": "18aa5be72db700cc33b8ce46", "last_updated": "2006-01-20T04:21:33.508Z", "last_updated_by": "ced925ff21c5453fe12463e5", "lastUpdatedVersion": "dolor adipisicing id", "tags": [], "canvasVersion": 1 }, { "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 }, "error_handler": { "name": "childJob", "summary": "ex in sint", "description": "cupidatat incididunt laborum culpa", "app": "cillum adipisicing", "variables": { "error": "" }, "groups": [ "807e240cff494f1484ff7cc8", "6372bf21edd2f82fcf22ef28", "e4c8c8a32c84271861ec0f88", "379f773a8170ef40367958da", "c9f94ed290b325448f4f8ae9" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "error" ], "autoRetry": false, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "9b57166725e616d33d1acb99" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "2006-10-05T13:39:46.236Z", "created_by": "c90554435ec1b8a86c70747d", "last_updated": "2010-09-12T03:21:54.239Z", "last_updated_by": "07aecb5da41d3dcc5b4760fc", "lastUpdatedVersion": "ut", "tags": [], "canvasVersion": 2 }, { "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 }, "error_handler": { "name": "childJob", "summary": "do mollit magna qui", "description": "Excepteur do Duis ea et", "app": "in", "variables": { "error": "" }, "groups": [ "87f90b46deaf79ba6ed11a8c" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "error" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "46cac3e9bc0b73a4c3591556" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "consectetur consequat ipsum", "preAutomationTime": 250000, "font_size": 12, "created": "2016-10-28T01:14:52.456Z", "created_by": "1e98a9858f8dc99f939eeaaa", "last_updated": "1956-04-23T14:30:49.911Z", "last_updated_by": "6eeeef87283c0bb63c66042a", "lastUpdatedVersion": "cillum voluptate dolore", "tags": [], "canvasVersion": 1 }, { "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 }, "error_handler": { "name": "childJob", "summary": "Excepteur veniam mollit", "description": "eu sunt reprehenderit consectetur", "app": "adipisicing proident ea voluptate velit", "variables": { "error": "" }, "groups": [ "395e1d9164de2c92f0b1098d" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "failure", "failure", "failure" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "1083641bc0aa43071210f5f2", "892a53353b91738a7ffdba69", "3e8a9c43cd4226d0238b5e53", "a8872ce2b673607de6d75434" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1952-06-29T21:41:40.925Z", "created_by": "f551092c1b4f6efe3ed7f336", "last_updated": "1995-08-23T14:44:44.399Z", "last_updated_by": "300f0cf3825248e1a1b0e6a2", "lastUpdatedVersion": "officia proident Excepteur in", "tags": [], "canvasVersion": 1 } ], "skip": 0, "limit": 50, "total": 100 }
{ "title": "workflows", "type": "object", "properties": { "results": { "type": "array", "items": { "$ref": "workflowDocument" } }, "skip": { "$ref": "wfEngineCommon#/definitions/skip" }, "limit": { "$ref": "wfEngineCommon#/definitions/limit" }, "total": { "$ref": "wfEngineCommon#/definitions/total" } } }