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" ], "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": "dolore irure laboris", "description": "nisi", "app": "cupidatat enim ea veniam", "variables": { "error": "" }, "groups": [ "c8250240718023e03f694faf", "0973e7c0aed4e1d30f6847e9", "7505ce1682051698a5407f8e", "9462a464d0866017a80e8bfe" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "error", "success", "success", "failure", "error" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "efb2bd09c3c8f6a8ea6f5217", "2d848c185a488b286b37b8f8", "f1117ab7fe078b61464a4be5", "7b35887f346ea1d070687a5c", "42414f0cf4e9975f5e974290" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "2006-03-10T19:05:41.768Z", "created_by": "7db4846e9f3f2db5ec3add95", "last_updated": "1988-05-31T23:02:12.646Z", "last_updated_by": "7ba7770e45114c40f097f446", "lastUpdatedVersion": "consequat", "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": "veniam adipisicing velit", "description": "labore ut quis", "app": "et nisi consectetur in qui", "variables": { "error": "" }, "groups": [ "d2ef2788be2260d4a7aeb09b" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "success", "success", "success", "failure", "error" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "eac0303d129482125824ebc4", "85bdcc7d68624a1b1e9079c3", "d702d2d744e5343d24925277", "cff255d57a3e77636a8d27f9" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1954-12-10T17:42:18.71Z", "created_by": "029c0f9dad19305d453218af", "last_updated": "2023-09-24T22:58:12.101Z", "last_updated_by": "261e83de8f57fe608514dad4", "lastUpdatedVersion": "laborum velit esse reprehenderit est", "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": "sunt cupidatat elit aliquip", "description": "deserunt irure quis pariatur", "app": "voluptate eiusmod nostrud amet", "variables": { "error": "" }, "groups": [ "2760fa754c700ef14a1a7620", "bc15aada3d41792ec58b7684", "3c2dc90b7f46194c38e4a2a0", "14346a02f67b7ec36ce53e08" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "error", "failure" ], "autoRetry": false, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "c210eb24a01f50e7dc040eae", "23a955f79d77d2c82e2f4407", "35d5b80a6600539f167d157b" ], "_id": "4321abcdef694aa79dae47ad", "description": "esse cillum", "preAutomationTime": 5000, "font_size": 12, "created": "1983-08-14T02:33:48.154Z", "created_by": "4d84eab387ef7b1417f23e0b", "last_updated": "2005-09-22T19:08:01.019Z", "last_updated_by": "d282b38465f125f66aefcfb8", "lastUpdatedVersion": "proident in eiusmod in voluptate", "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": "sint ut Excepteur labore laborum", "description": "qui irure", "app": "dolor eu", "variables": { "error": "" }, "groups": [ "88a500056d6b7735d4c345f0", "27c87bf067ee5a6988195f90", "329ce074da2cc61a65c9eb00", "047b90835a44571270ce080d" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "error", "error", "error", "success", "error" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "ddc0a949df65e87f0c0e3035", "1b011c9d85924f906f0fa6e5", "330b0fa8575f549d464203c7" ], "_id": "4321abcdef694aa79dae47ad", "description": "ex cupidatat ea do", "preAutomationTime": 250000, "font_size": 12, "created": "1995-04-22T21:28:17.005Z", "created_by": "d00a8cae7d1762b90d69eaa4", "last_updated": "1995-01-07T11:52:16.33Z", "last_updated_by": "14df5504a7c5d2db8b50127b", "lastUpdatedVersion": "ullamco dolore ad", "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": "eu exercitation dolore consectetur sunt", "description": "Lorem", "app": "non", "variables": { "error": "" }, "groups": [ "98ec1f6f37aa33ef4410a09d", "3013771e36b77891acaaca66", "e9f1c3431b1994be725d51c2", "600fe776fa772d0bc75011e6" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "error" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "87bd2a4aa4d23503ac228ec1", "790c51b0123987682f92b9ab", "147d59aa55211e05822fa34a", "f30f0353f521c72a0266474e" ], "_id": "4321abcdef694aa79dae47ad", "description": "dolor pariatur", "preAutomationTime": 5000, "font_size": 12, "created": "1948-04-03T22:36:44.602Z", "created_by": "daf38f6f9dca42fd8d5c1aa0", "last_updated": "1957-08-31T19:05:57.626Z", "last_updated_by": "61c4a6a4f04887a5834302d8", "lastUpdatedVersion": "labore sed Duis do", "tags": [], "canvasVersion": 2 } ], "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" } } }