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": [ "user", "owner", "created_by", "user", "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": "sunt consectetur occaecat", "description": "nulla dolor velit magna mollit", "app": "ex dolore ut non nisi", "variables": { "error": "" }, "groups": [ "432a208bc5bb18f49010519d", "3e249d9ea2d1d4ef79c0dbf7" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "success", "success" ], "autoRetry": false, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "c09375c2c81bbb1c0dd87ca4", "f527850adceb616817715704", "1e0e49d4d09debcf6c38b320", "ea4bd758bef1f3c45d95c750", "b00af8e1bdfd19bee516c8c0" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "dolore", "preAutomationTime": 5000, "font_size": 12, "created": "2016-02-22T03:43:49.679Z", "created_by": "2b325b43436e748a439aed9a", "last_updated": "1971-12-19T11:02:55.416Z", "last_updated_by": "c9732ce007183a3f5ed8332d", "lastUpdatedVersion": "exercitation quis amet ex", "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 exercitation officia dolor laboris", "description": "tempor deserunt sit exercitation consectetur", "app": "in nostrud", "variables": { "error": "" }, "groups": [ "1b90fa2d10fe78b45210a605", "bf41a67512614a78b8985e28" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "failure", "failure", "error", "success", "success" ], "autoRetry": false, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "f96af0e2095f9536abe6c132", "bbce32a12296daab21672a19" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "quis aliqua", "preAutomationTime": 5000, "font_size": 12, "created": "1995-05-27T20:37:00.005Z", "created_by": "e611a8a8eae5b48e484143ad", "last_updated": "1946-08-14T13:39:22.974Z", "last_updated_by": "1011f92d83a6a1754d78b419", "lastUpdatedVersion": "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": "cillum", "description": "ex dolore id ea amet", "app": "elit enim ea laborum", "variables": { "error": "" }, "groups": [ "2f7a2786d09a1b6dce33948d", "8e0aea371cd7afd6d9c84199" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "error", "failure", "success" ], "autoRetry": false, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "56a5f98a2eebe7d29084158e", "19f4a9ac1be70a2be9d0b9e5" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1975-06-27T05:18:28.724Z", "created_by": "5b91b0a1deca207961272f79", "last_updated": "1966-08-08T20:52:52.075Z", "last_updated_by": "6df8fd02de098cdc709e2d6e", "lastUpdatedVersion": "laborum", "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": "consectetur minim in eu enim", "description": "esse ullamco qui elit", "app": "nulla velit", "variables": { "error": "" }, "groups": [ "e1c36f78194d736267b0c880", "b0e0970997fb927b713d4c2d", "1c3f93b856ba07793cf73452" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "error", "error", "failure", "error" ], "autoRetry": false, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "5015677e41c059de9b56c2d0" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "Duis", "preAutomationTime": 250000, "font_size": 12, "created": "1970-05-03T23:35:17.852Z", "created_by": "25aedbc7e73f7b5fc172be1b", "last_updated": "1961-08-05T12:14:18.023Z", "last_updated_by": "f3787c6c5dee0960f8ac1639", "lastUpdatedVersion": "deserunt dolor", "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 adipisicing dolor elit Ut", "description": "reprehenderit", "app": "do aliqua sunt laboris magna", "variables": { "error": "" }, "groups": [ "415a5af40cd0c4954b94b8dc", "b5f99455ec03f1fcabe88a1e", "c0d2f28f1b573eff5a49996c", "e89174622ee18a37321a82dd" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "error", "success", "failure" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "a78868e8bc941cf5fe6e902d", "1f25620ee03499379eb0a6ec" ], "_id": "4321abcdef694aa79dae47ad", "description": "dolore in amet", "preAutomationTime": 250000, "font_size": 12, "created": "2012-05-04T22:11:51.567Z", "created_by": "d6eefdcf4ac073b502874f33", "last_updated": "2013-10-11T17:46:05.617Z", "last_updated_by": "b70bbd59c719a4ffcc3b82e2", "lastUpdatedVersion": "tempor sit pariatur consectetur eu", "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" } } }