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": [ "created_by", "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": [ "0ef4e0f25297b3ee931c0bd7", "c824d9b854dd19bc4508322d", "234d688fd872c13e228a5fc4", "3aa54cd87ef066bf63efc17b" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "fc7630db97b0fe8fd2ef1d71" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "ut", "description": "deserunt eiusmod ullamco", "app": "nulla", "variables": { "error": "" }, "groups": [ "4f2db2131783c9289fcacc97", "b48f05ce3c05d5044b37d256", "25be1d83c44a27f768a8c679", "ef1d04ac4c5d106fb5f9d1b5", "59c6fa98f9390082f73452d9" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "success", "error" ], "autoRetry": false, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "5189b2b2eaf83c812b52a315", "54dc245027612c7ef33db375", "d8f3cf5684de9a102d8da83a", "52a477928158381d1e0ebb47", "33dcf30d934a57acbefbe463" ], "_id": "4321abcdef694aa79dae47ad", "description": "culpa", "preAutomationTime": 5000, "font_size": 12, "created": "1949-02-13T12:36:40.917Z", "created_by": "37e4b0be679a0a37abad6b27", "last_updated": "1962-04-22T22:26:35.252Z", "last_updated_by": "2f92d1a756f47f09d2b98668", "lastUpdatedVersion": "nulla deserunt", "tags": [ "est tempor exercitation adipisicing", "quis incididunt in culpa id", "do esse ut in", "deserunt", "proident velit" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "5807b52cabba3994765a9f96", "d877632f536a46b7efa8fa47", "841ced3be5cab5f09eaaeda1", "7b706c3d587e54219eaf164f", "7e37891255557f4c627ba783" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "6bb2dfd27e83b6cc6b7f3913", "96e04b377753d2643aa2c30d", "de3dba12b4bd8dcf74e04514", "ebbde7988b27d9f21d89bac3" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "sit", "description": "qui", "app": "aliqua Lorem", "variables": { "error": "" }, "groups": [ "ced9458800e98b82b6f712ad", "a1084306ede32403f0222c52", "3a6f08232c0a74e238cecbf8", "9656c7328e389ad3225cd2d9", "bf3bee2ce84263500a76a5bd" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "success", "failure", "error" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "84b6e4222e4c625f790eef40" ], "_id": "4321abcdef694aa79dae47ad", "description": "nisi eiusmod", "preAutomationTime": 250000, "font_size": 12, "created": "1983-05-24T20:09:32.724Z", "created_by": "45c8a8784a9726cf03aae1be", "last_updated": "2016-09-26T17:21:35.478Z", "last_updated_by": "b3a2a064b6aaad8fccbe1433", "lastUpdatedVersion": "aliquip sunt tempor in", "tags": [ "laboris nisi cillum commodo deserunt", "nisi dolor proident laboris", "aliqua" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "a5bbaad4736a3dfb61ec5269" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "5e1e3f2a2e65091c36034486" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "cupidatat ea qui sit enim", "description": "Ut", "app": "labore quis in", "variables": { "error": "" }, "groups": [ "b082cd4ed57fa01a8708e0c1", "7986c386a95d0a9eca686727", "663e71d759959c73d1b84b77", "f02c821ebd1ff320afedc662", "9258fb825d59417d2b775de9" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "success" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "de742123f5cde26362bf6af7", "bafad5783a8459fcae36ffb5", "26ef1761b545ce738623c0ec", "9f720f7b64e7ba17bd614b3c", "52b890ceb6518f36629936d1" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "sed irure", "preAutomationTime": 5000, "font_size": 12, "created": "1959-03-05T17:18:09.255Z", "created_by": "439cee930611ac656761b046", "last_updated": "1951-05-06T08:56:19.88Z", "last_updated_by": "8172c76408c1201e8e45dcf6", "lastUpdatedVersion": "officia", "tags": [ "anim ex irure adipisicing incididunt", "dolor fugiat exercitation culpa", "consectetur dolor labore anim tempor", "cupidatat dolore ullamco", "Duis consequat voluptate ullamco aliquip" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "46c47f602b2597161358083f", "97aeb7319a17a42beb9a32a6" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "72ff4705a9d4726d6004c2a4" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "adipisicing officia sed pariatur voluptate", "description": "pariatur in", "app": "minim do quis commodo", "variables": { "error": "" }, "groups": [ "9c17f9e7b7646242fdbf8b38", "abbad7bda406d071aa42dc0d", "8c653b94839fa0426b6fd3b9", "e430c3899d5c139269cd6339", "8068402c7fc5b8d1f4ecad7c" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "success" ], "autoRetry": true, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "c14fbe0b9dfc4800b6cb1e61", "3a9b04c1569684175a66d829", "0f5247fe963930b248bcc535", "6b285a9971dc68f5266ff906", "3f0ec58ab37a990f61095d2f" ], "_id": "4321abcdef694aa79dae47ad", "description": "ipsum", "preAutomationTime": 5000, "font_size": 12, "created": "2001-10-07T18:21:57.813Z", "created_by": "6c5ce024960fd23b80e92b1e", "last_updated": "1999-12-02T02:00:15.223Z", "last_updated_by": "2f2e3c1cef277c8cceceba40", "lastUpdatedVersion": "anim Lorem Ut culpa", "tags": [ "veniam incididunt", "minim sunt proident" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "ba99007b61b6f16c825368bf", "22a622f2b9580e7264f7880d" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "e7505134eebd3945c69ad8cd", "6b3748e74add7aa20d0e5401", "93e220c22723fe0a27e41d4d" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "voluptate", "description": "in id", "app": "ex ad", "variables": { "error": "" }, "groups": [ "eba1ed5b240b86a9a6a5bfb7", "129f56bcbf04edb71c33c96b", "eaf3ab721d02719d23588f56", "aa5d3c3dc69c430921eaac7d" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "error", "success" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "fa74b901af0ed99ba74947ea", "16edd61d8b679e0156b617fc", "2db9d9c5fcee4f30061c6cbe", "713d82400928c9678501df8b", "70fe28d144abeaaaf27fe3bb" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "2017-08-15T19:21:59.438Z", "created_by": "b92ef79cd1878e68cb2545c6", "last_updated": "1975-04-05T21:46:20.273Z", "last_updated_by": "286427ad6981d1a37fbd28be", "lastUpdatedVersion": "voluptate laboris ipsum ea labore", "tags": [ "cillum qui Excepteur in labore" ], "canvasVersion": 2, "encodingVersion": 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" } } }