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", "created_by" ], "fields": { "name": 1 }, "query": { "name": "abcd" }, "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 }, "error_handler": { "name": "childJob", "summary": "magna esse mollit", "description": "qui sint enim", "app": "officia veniam exercitation aliquip", "variables": { "error": "" }, "groups": [ "07f24048c8a43b5a8c7ff77c", "b8d2715808969a9aa750e8b2", "6d10aa3ae583a35a06908ed1" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "error" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "52f14cf0706c62dfab112a7e", "fbd1e6fa285e66e28c78198d", "6842c1545f8f6b7c4adf1c94", "3f62345394028078798a06b8" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "aliqua", "preAutomationTime": 5000, "font_size": 12, "created": "1946-02-05T20:17:02.47Z", "created_by": "7fb61710ba780ba60dc86b8f", "last_updated": "1986-03-21T02:07:24.249Z", "last_updated_by": "052a10373988f7773ea402bc", "lastUpdatedVersion": "ad laboris in enim", "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": "qui nulla", "description": "exercitation et", "app": "dolor", "variables": { "error": "" }, "groups": [ "13e94af8cc9a1db6776cbbe2", "03789f9416b397f1c604ef71", "1831bbc011ce90f6e8eebfdb" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "failure" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "4108aa0ea5b97de35dfe4363", "17f3f44dfba164a9b19835d2", "f55d8d62937a3d2955c4b401" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1968-09-16T05:13:01.79Z", "created_by": "e8fb49d798844ff195b0a5f9", "last_updated": "1974-11-12T17:36:42.675Z", "last_updated_by": "0903d3b1e216b6b36fbcf2e0", "lastUpdatedVersion": "ad et est Lorem in", "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": "esse", "description": "consequat commodo tempor deserunt", "app": "sint pariatur ex", "variables": { "error": "" }, "groups": [ "f2f80fd27502decd837dfdc8" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "error", "failure", "success", "success" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "b7e8c9d334c191c0ec0e218b", "07dbbd921788a75805f7d8f0" ], "_id": "4321abcdef694aa79dae47ad", "description": "et consequat quis elit adipisicing", "preAutomationTime": 5000, "font_size": 12, "created": "1980-02-20T20:24:47.922Z", "created_by": "6fbb141f95c6eb6c74e7b7bb", "last_updated": "1985-07-29T09:10:16.631Z", "last_updated_by": "35a3e78ceaeafeae61c0a11d", "lastUpdatedVersion": "voluptate velit ipsum reprehenderit", "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": "sint esse", "description": "sit irure do adipisicing deserunt", "app": "dolore", "variables": { "error": "" }, "groups": [ "46e49044d519b38134aee94f", "33c420c02f6049c4bf81bb16", "f8d093a3d7d9c97b4b12d414", "387286f72e7577c2ba799c2a", "241af9898bdaeaceb677effa" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "error", "failure", "success", "success" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "eb6d855dc5e744fba2bce5d3", "7013cc2bb91f52f305bcb996" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "2019-08-16T08:00:57.77Z", "created_by": "90ed148cb65ddf9773c5e72e", "last_updated": "1992-10-22T05:28:15.96Z", "last_updated_by": "6aaa9ac8c30d67cea74758d0", "lastUpdatedVersion": "irure", "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": "reprehenderit mollit et", "description": "culpa", "app": "labore esse pariatur qui", "variables": { "error": "" }, "groups": [ "462963c9d99c8acf4fed9f8b" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "error", "error", "failure", "failure" ], "autoRetry": false, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "c270e34547925b96e6ad4c8a" ], "_id": "4321abcdef694aa79dae47ad", "description": "exercitation deserunt laborum cillum non", "preAutomationTime": 5000, "font_size": 12, "created": "2007-09-18T08:49:03.601Z", "created_by": "1b3f629905981da37d1236d2", "last_updated": "2011-04-19T04:07:51.347Z", "last_updated_by": "90e14365e6495cfdc1f9cb84", "lastUpdatedVersion": "aliqua cupidatat ad", "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" } } }