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", "user" ], "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": "consectetur exercitation aliqua deserunt", "description": "enim velit", "app": "qui in culpa", "variables": { "error": "" }, "groups": [ "090751d1dc9f33d9e8cf7214", "b3e76696ff641f09442b5db1", "f5c88d379c03c194adeb1742" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "failure" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "8a200f5d72be9cec4b67c960", "1fe7437d408839c64af536ce" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "Duis non nostrud", "preAutomationTime": 5000, "font_size": 12, "created": "1990-08-09T22:05:42.159Z", "created_by": "4931cdebcd3efc492cc6c3fb", "last_updated": "1973-01-28T12:24:09.793Z", "last_updated_by": "840c8ad23c5182f1ab6da187", "lastUpdatedVersion": "dolor occaecat eu Excepteur ut", "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": "in occaecat laborum sunt", "description": "dolor ea aute Ut", "app": "Lorem veniam", "variables": { "error": "" }, "groups": [ "8d72565a78ce05f03ff4e844", "ac0af85f9c37c504450792b4", "1da66224a64b2d8784e721ce", "5bb6a975d5c47a4107233d7b", "38794585483fcaaeffb559a4" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "success" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "301513184e21d303ac12a4c6", "881e62b2eed7cccccd1b728a", "de4e4f87792419c3cc125de5", "18ccf291f3817d0224f657c7" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "2003-02-26T19:01:43.006Z", "created_by": "894364c40086c2b36d0f60c1", "last_updated": "2018-05-17T20:43:04.876Z", "last_updated_by": "dbc4d6c34a78d9a13f3b4982", "lastUpdatedVersion": "velit", "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": "non ut Duis dolor anim", "description": "exercitation commodo in", "app": "est quis", "variables": { "error": "" }, "groups": [ "37dec4f599e50a71b2a4e750", "8eb17b07c22932e87225235c" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "failure" ], "autoRetry": true, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "37c0063560ca32d8b0c7d31e", "1b2b002a171f34e8bc43efb5", "dad28507ca717fa6312af4da" ], "_id": "4321abcdef694aa79dae47ad", "description": "in", "preAutomationTime": 5000, "font_size": 12, "created": "1960-02-15T23:17:25.841Z", "created_by": "93d35cc54a4e631f892fe7a3", "last_updated": "1946-12-26T09:58:34.574Z", "last_updated_by": "764b9cad80807c270389cf26", "lastUpdatedVersion": "reprehenderit", "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": "in dolor", "description": "incididunt in eu id", "app": "mollit minim in ut", "variables": { "error": "" }, "groups": [ "ac2c7eef9ec418279f9810b2", "e67d33ddb0f44b5464e5f8d1", "2793b0b14f0503a6a097c41c", "1a74942adfa69d798b605111" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "error", "failure", "error", "failure", "success" ], "autoRetry": false, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "565e9557244c6fcaab663802", "f40322a11621e5a546d92cd8" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "amet esse", "preAutomationTime": 250000, "font_size": 12, "created": "1987-11-07T09:17:18.754Z", "created_by": "67df88db6dc3112623a75da4", "last_updated": "1954-02-01T19:16:46.702Z", "last_updated_by": "e0705c08a5f7e2a07c7af30c", "lastUpdatedVersion": "voluptate", "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": "eiusmod adipisicing", "description": "cupidatat", "app": "minim", "variables": { "error": "" }, "groups": [ "1dd884686649153fd60f987f", "10ba7da710b88e61072f41e0", "10ad9c6c85b1dd92114b2c40" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "success", "success", "error" ], "autoRetry": true, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "9cc6e2767d7755972e48bf2b" ], "_id": "4321abcdef694aa79dae47ad", "description": "veniam officia nostrud", "preAutomationTime": 250000, "font_size": 12, "created": "1999-11-16T05:00:19.834Z", "created_by": "053d1eb46468dbfa24dd883c", "last_updated": "1984-04-10T13:40:09.67Z", "last_updated_by": "0ef8da14c07bd9320f0c358b", "lastUpdatedVersion": "sed", "tags": [], "canvasVersion": 2 } ], "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" } } }