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" ], "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": [ "830eae0a278a94483e06bb74" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "455e1b1bcc62220106958eb6", "5071d745db5af3c26f344dc0", "c3250e59a86da5df011307ac", "738945724a6ee4a9cc05ebed" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "ipsum reprehenderit ea sunt in", "description": "adipisicing eiusmod et in", "app": "in nulla amet", "variables": { "error": "" }, "groups": [ "0c24c1f65f45d11ff07a190b", "501841e25ebabe80a80d9ba4", "9e44cb02a0a183a5e6c6d62e" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "error", "failure", "error", "failure" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "5938fa332e99603f0a923f58", "7a703dffcb7492b5bf97f8ec", "e72d022c6f52a89e7c05e300", "fab9b77b14a175111535d380" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "cupidatat aliquip Ut ut ipsum", "preAutomationTime": 250000, "font_size": 12, "created": "2006-07-02T00:43:09.493Z", "created_by": "c1bbda2be41f5129a02b0e3b", "last_updated": "1952-08-10T16:50:30.654Z", "last_updated_by": "a9bff673002c0f4bb8be4dc5", "lastUpdatedVersion": "minim adipisicing sed", "tags": [ "qui dolore exercitation dolore consequat", "deserunt in nostrud consequat" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "1338de4e0a41c0559b28e024", "6452611dbdcd7542350f520b" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "eb62fca313e1368478868529", "6caeffe05665c0b12a17670c", "745fde40f38d6862ed43221f", "a7c85fa6debe5d460ed25838" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "id do laboris sit", "description": "amet fugiat", "app": "sunt enim proident", "variables": { "error": "" }, "groups": [ "81bc9a06a0835dc72d4ddaae", "8fa9be62342abe43450a6eed", "0abf10bf709d06ddcf4a4eab", "764cb87dce52ed0b03d08a77" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "success", "success", "success" ], "autoRetry": false, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "300e8201efd5e9962ef1d5cc", "21872ec6b50d03a399a4bbbe", "277ea7025a8bba51c945e80d" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1977-10-09T03:24:42.788Z", "created_by": "fca04d285620c411b8ab6c52", "last_updated": "2009-12-26T00:30:58.325Z", "last_updated_by": "ecf3a705c8bcb0f15761f0d7", "lastUpdatedVersion": "occaecat sint minim irure in", "tags": [ "adipisicing Excepteur incididunt", "nostrud est sed ad laborum", "qui do" ], "canvasVersion": 2, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "6b459396167d5295afddb374" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "b1f9358e665e3c333da616e4", "f5148f0ef9d378af79a725a9" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "amet do ipsum occaecat eu", "description": "nulla aute", "app": "cillum occaecat proident qui Ut", "variables": { "error": "" }, "groups": [ "9958035361d0f81e74a2578a", "1e717bba43fc7fdacb396bdf" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "error", "error", "error" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "ae1efdcdda903adcda8d8d0a", "6bb717d38384fd6404a077e5", "fce679ed4e91979a1ba5314e" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "ad do ullamco", "preAutomationTime": 250000, "font_size": 12, "created": "2006-04-04T10:02:23.587Z", "created_by": "1885cd195e23ab2b1b67c65d", "last_updated": "1956-06-10T12:57:33.929Z", "last_updated_by": "067465c9144faef369b263aa", "lastUpdatedVersion": "dolore", "tags": [ "elit proident non ea", "qui minim", "dolor in voluptate proident ullamco", "esse velit mollit deserunt commodo" ], "canvasVersion": 2, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "512354733e1fe7e121319950", "c3c27bc72509281f4cf61cb2" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "ab5d892e88d27993461da4cc", "563eca85dd10d279d6fdcf18", "63d9e3c1e10f293d5c75eb57", "f27d157c830f0cb0210f01af", "6a2b7390a569b52f82600e6b" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "voluptate", "description": "incididunt occaecat", "app": "Lorem enim cupidatat", "variables": { "error": "" }, "groups": [ "35b7ef90f9da07db0827ca0c", "297d3e2a92bd82cafd46deca", "7860647b3051f2c79655c8f9" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "failure", "error", "failure", "success" ], "autoRetry": false, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "ba8f12e1dae71e987fd4c31f", "abcbac1cbd894da3acc37baa", "3d74a403a91bfc185c275531", "e84159969f331bc26b176b21", "cabb435537346efe56a40103" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "2007-07-10T11:00:23.448Z", "created_by": "06e34a1831f33160092bb5f0", "last_updated": "1989-06-05T02:32:09.571Z", "last_updated_by": "02b9f27b448842f506d18b6f", "lastUpdatedVersion": "sint", "tags": [ "Ut occaecat ipsum sit", "in in incididunt non Duis" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "060f97d5fc37364409edc586", "26d944fea01bb8130c473c18", "4c89f3defd4a6a6b0208aee9", "b774963ddf85f07ee62608f2" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "5904b3d4525db0ff16a53998", "612ce12899ae77314858fab1", "e7c12f12c8cfecf363a2d34b" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "mollit", "description": "est sed", "app": "aliquip mollit", "variables": { "error": "" }, "groups": [ "8551d001838097248e5a821b", "f7fdc55d005d2de1de2d64cb" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "failure", "error", "error", "failure" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "bab7219f7be5580d6a0ccf9b" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "2019-09-03T19:52:00.692Z", "created_by": "6339bdd47700d80edb081458", "last_updated": "1985-09-15T18:12:39.828Z", "last_updated_by": "c4902d33ce78b1324e6c7ef8", "lastUpdatedVersion": "exercitation id eu cupidatat sit", "tags": [ "in", "dolore ex aliquip reprehenderit", "sint in" ], "canvasVersion": 1, "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" } } }