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", "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": "ut", "description": "officia nulla", "app": "in", "variables": { "error": "" }, "groups": [ "2a09037942e562a52a00507e" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "failure" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "d004e79050bc186b500ba9cf", "0faa56bc755116db960f4d71" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1956-06-07T21:44:56.053Z", "created_by": "d31a5a951e880c47d02f1014", "last_updated": "2021-05-07T21:02:45.539Z", "last_updated_by": "e299112072d238a653965b97", "lastUpdatedVersion": "Lorem", "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": "nisi quis et commodo", "description": "Ut adipisicing irure reprehenderit dolor", "app": "deserunt", "variables": { "error": "" }, "groups": [ "436fb373d8b8efaf7910b4ea", "9c5a6a838ca05e5efaf60a60", "c248226c821927e2307f586d" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "success", "success", "success" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "53194bd9c137db3076ec9cc2", "1d9742bebb5937fe02f2514d" ], "_id": "4321abcdef694aa79dae47ad", "description": "quis ut", "preAutomationTime": 250000, "font_size": 12, "created": "1957-10-09T05:25:30.885Z", "created_by": "86cbd26f3967139bdec071d7", "last_updated": "1992-10-23T07:31:05.152Z", "last_updated_by": "d7ecd12c85de048fc9548869", "lastUpdatedVersion": "ut sed consequat in adipisicing", "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": "Duis eu nulla occaecat", "description": "eiusmod veniam proident ea ex", "app": "et", "variables": { "error": "" }, "groups": [ "a60a6a2e7197df61929f2593", "db713a427adb67362af4a246", "0da948668456a60e399e566e", "f0f4250df75f4e2c5bc7e8b2" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "error", "failure" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "21a264f835901745873e65ef", "1de9d1f8e7f6f5f9f017c651", "fcfe43a9ee4801c66a9009fb", "531a04d8b014bdc67f33ff1f", "c28a10dce7f55ab37983a7c8" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "non", "preAutomationTime": 250000, "font_size": 12, "created": "1987-01-03T16:31:24.082Z", "created_by": "57ed5f842f1f6c68647f7ee2", "last_updated": "2016-05-11T11:40:04.794Z", "last_updated_by": "ee85a42a89970c0c5f3da20c", "lastUpdatedVersion": "eiusmod in", "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": "nisi", "description": "ullamco", "app": "esse sed occaecat Lorem proident", "variables": { "error": "" }, "groups": [ "71b1583e6407837be16d9f59", "780d773675786353b219c3eb" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "failure", "error", "error" ], "autoRetry": false, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "36cdf224b173adcf21983886", "f6b7966fc404cafae0b3e2ec", "5d761705712685d107173187", "afee48d3cdf73e1b0aa8023f" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1998-05-06T07:30:40.186Z", "created_by": "1d248865248739d4c4e9e66a", "last_updated": "1971-01-26T22:37:36.166Z", "last_updated_by": "1c636f017c328f70d0297ccc", "lastUpdatedVersion": "in Ut dolore", "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": "enim", "description": "cillum consectetur", "app": "ut fugiat sed sit et", "variables": { "error": "" }, "groups": [ "6a03b767ab2e4f11cda7fefb" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "success" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "00e96d2b442491d5bbfd8fdc", "be80ca8592c7c14f54f8e697", "fe9ce1392f16d8dd47312b6e", "54c6b1579f38cb68301bfcc2", "8cd9ae0308b666b0ef01f5cd" ], "_id": "4321abcdef694aa79dae47ad", "description": "laborum dolor eu ea veniam", "preAutomationTime": 250000, "font_size": 12, "created": "1955-02-27T19:37:36.963Z", "created_by": "7d107220973c34e114f25613", "last_updated": "2011-12-13T11:21:01.162Z", "last_updated_by": "04526c640967e23bec949e96", "lastUpdatedVersion": "Ut sit", "tags": [], "canvasVersion": 2 } ], "skip": 0, "limit": 50, "total": 100 }
{ "type": "object", "properties": { "results": { "type": "array", "items": { "$ref": "workflowDocument" } }, "skip": { "$ref": "wfEngineCommon#/definitions/skip" }, "limit": { "$ref": "wfEngineCommon#/definitions/limit" }, "total": { "$ref": "wfEngineCommon#/definitions/total" } } }