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", "owner", "created_by", "created_by", "created_by" ], "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": [], "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": "cupidatat ad ex laborum irure", "description": "esse id do proident", "app": "ipsum eu deserunt est", "variables": { "error": "" }, "groups": [ "669d33a4497ba8dc68937329", "e0ae50f277a28b508d097d26", "f645de6fafbd42329ba22e68", "7a4ee8f0a8e243e091d2bdbe" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "success", "failure", "failure", "success", "success" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "369b66a5909788aebe9b4283", "ee6fe64c87c2f0dd3dd926b6" ], "_id": "4321abcdef694aa79dae47ad", "description": "occaecat deserunt est dolor", "preAutomationTime": 250000, "font_size": 12, "created": "1967-06-15T21:07:17.507Z", "created_by": "3b7ebc136783c57792b191ab", "last_updated": "2020-05-10T10:04:34.405Z", "last_updated_by": "ffe29252616a6fa25fa56cc3", "lastUpdatedVersion": "est sunt eiusmod", "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": "commodo enim", "description": "velit", "app": "dolor Ut ut sed voluptate", "variables": { "error": "" }, "groups": [ "b3822fa13b911905943924e9", "735443e53ea7e57b397804a4" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure" ], "autoRetry": true, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "1e52ac3e234a5dfd169496ee" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1987-04-24T22:22:21.49Z", "created_by": "0f1d4f34b9f0dccae780b3d9", "last_updated": "1961-06-07T03:07:59.536Z", "last_updated_by": "09c3122ac3f511bf7d58bec6", "lastUpdatedVersion": "commodo nulla esse consequat occaecat", "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": "aute pariatur", "description": "qui voluptate do", "app": "dolore eiusmod mollit consectetur in", "variables": { "error": "" }, "groups": [ "3977561b424ff7bf0c75ba9b", "b7a00fc2e706d05f9a1e95df", "b789ce278eaf0df281aa8bb5", "cb9130300eaea18fe46032ab", "f53093564b40e62f8190c5e8" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "error", "failure", "failure", "success", "error" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "9841aed66f21e5087bacd785", "d1e65afbd275efb68207def1", "c1d7a5d45a876fd22bf09302", "ca74a1297dc4dbb3505287d9", "f920bdec3fbd54abc28933d0" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "laborum", "preAutomationTime": 5000, "font_size": 12, "created": "1969-06-08T19:17:24.62Z", "created_by": "e760332e5594fb3a59fc8d3e", "last_updated": "1958-08-07T11:17:03.461Z", "last_updated_by": "08f01b2d7d0a92b460c81bf2", "lastUpdatedVersion": "eiusmod velit in ad occaecat", "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": "id", "description": "ea", "app": "nisi quis Duis laboris aute", "variables": { "error": "" }, "groups": [ "8627210158810032ff6ac073", "b914e2ffe57b597e8368b859", "a5c985b66edda8257b84045f", "83876df54bd6aa8da01f2f06", "b47c5cb319426d7ea7aeb076" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "success", "failure", "failure", "success", "error" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "1a5f300865d783764c2af15e", "1e0ca471ec494c4d72aed84a", "29e434ac49da9504b31d7aa2", "f822572b9930b79b4fcbb32a" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "exercitation dolor ad ex Excepteur", "preAutomationTime": 250000, "font_size": 12, "created": "1992-04-10T22:44:02.703Z", "created_by": "b75dd49874116ea5ff3c381f", "last_updated": "1963-05-28T16:00:51.398Z", "last_updated_by": "08a0984a3c833e24d57144d1", "lastUpdatedVersion": "est sunt nisi sed ut", "tags": [], "canvasVersion": 1 } ], "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" } } }