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", "created_by", "created_by", "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": [ "5e1f14a3c067aa114f46197f" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "8467f85b66b022d56b1c7ab0", "4eddfd5db166a20c23a84303", "6c0f43c3bec55d0376e6903d", "da324662c1793da58a223817", "1a63801549d38f31c63eb858" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "mollit nisi sunt", "description": "dolor", "app": "pariatur ad consectetur tempor", "variables": { "error": "" }, "groups": [ "9b687191aeffa249884592d6", "21ada0a07beab7f5b25c44f2", "43b8d94ad4de8a10108b8b19", "8ff7bfd7d1a1352824595f63", "14960c22d9f170f759424c15" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "success", "error", "success", "success" ], "autoRetry": false, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "fe0a51e7b8763863ae745e00" ], "_id": "4321abcdef694aa79dae47ad", "description": "sint cillum", "preAutomationTime": 5000, "font_size": 12, "created": "1975-06-29T10:36:32.557Z", "created_by": "82bc891cc227bfcd9a3ba038", "last_updated": "2010-02-18T09:29:19.151Z", "last_updated_by": "bdd805a13d1afc45c6d64223", "lastUpdatedVersion": "ut nisi", "tags": [ "dolore aute", "dolore eu incididunt", "ipsum anim magna ullamco", "eu dolore nisi pariatur id", "minim" ], "canvasVersion": 2, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "04c20687217b89990cb9bf3d", "9b791a668379ad3f12c692ee", "a72bf38a4dde8bd25de512c8" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "1f0be5c43510d580f9b9ed9f", "c85d1c99eca715140edc9425" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "tempor quis laborum id ullamco", "description": "laborum elit minim adipisicing enim", "app": "Duis ullamco ut ad est", "variables": { "error": "" }, "groups": [ "5d896b666086edbea03ea0a2" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "error", "failure" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "9dbe9eb5844a91e10e57f3f3", "8b1dfcf3582ec9820260231a", "b819e9df86089692ed729bfd" ], "_id": "4321abcdef694aa79dae47ad", "description": "ut culpa irure proident est", "preAutomationTime": 5000, "font_size": 12, "created": "1956-10-09T19:43:25.8Z", "created_by": "4d70ee175ff3973f3601e5ba", "last_updated": "2000-05-08T22:46:55.221Z", "last_updated_by": "ecd0180f014b656750da7093", "lastUpdatedVersion": "nostrud in proident", "tags": [ "sed deserunt cillum nisi Lorem", "anim" ], "canvasVersion": 2, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "c9e47b489d80d55039669e24", "0399b413d1b049b70c924902", "1b4906a9d00f8965508ce349", "76f1918d705e758153929be7", "5a084868b13736b0599ba6e5" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "cb90cd62601ab5356a890446", "bd1b8e6f33e086160db41489", "c936e3a8d8f5a1541d722e38" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "veniam fugiat occaecat dolor", "description": "nostrud aliquip", "app": "amet esse reprehenderit in exercitation", "variables": { "error": "" }, "groups": [ "11682c7321f3de0d555d7be3", "5256f417849cbfebb6d5f249", "001cabd7300e1c1811020aba" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "success", "success" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "870c31d14c38684a3e15d59b", "23854e89cdfa7c9e39e3d131", "d05241c06b19dfec58aa0fc3", "ef66b9589b481b63e6c3c8c7" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "2005-09-28T08:07:00.286Z", "created_by": "bcfda90cba6d6038402e3a0e", "last_updated": "1952-12-21T12:09:24.9Z", "last_updated_by": "11ba48d3812c88e23e65638c", "lastUpdatedVersion": "aliqua consequat amet", "tags": [ "ex", "esse" ], "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" } } }