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", "owner" ], "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": "laboris mollit", "app": "Duis labore anim fugiat", "variables": { "error": "" }, "groups": [ "51a88a0ee1104d889a9bbfcf", "7916fd690b195c6ea9a8d4e6", "f3d6fee8f0b8a8a8a3592d3c", "ae104d075e79802c1c567ea9" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ "58ab89d4120cc5036e7c221f", "1eb33eb1f6379606b83e2738", "4d4ff823b9a42814cb7bed60", "a4e1b01793c0e618582b7071" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1963-03-05T03:24:09.311Z", "created_by": "d34abc4169578b00899209b0", "last_updated": "1991-05-16T03:29:03.796Z", "last_updated_by": "54647be2660686c70ec01406", "lastUpdatedVersion": "consequat Lorem 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": "anim cupidatat ad qui", "description": "do sint pariatur", "app": "irure", "variables": { "error": "" }, "groups": [ "1f3459cd378ea12c0d6b561a", "b883b86a5c668220f2946502", "7e395c70518b3fc5137d2b73", "386d14f4e21e8f0cf135c4cb" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ "b0a54a7be5e192faa333089f" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1954-07-25T01:12:17.671Z", "created_by": "8f9ab2b9e7d13f837c2cdddc", "last_updated": "1974-07-02T17:46:38.642Z", "last_updated_by": "2676e670fb58237c0bed2424", "lastUpdatedVersion": "ut cupidatat", "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": "magna", "description": "ipsum", "app": "cupidatat", "variables": { "error": "" }, "groups": [ "c96d43188af76639425adfc2" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ "7a7c7f96c7b4f21b0975cb02", "cfeed92a5aa2e6176b88bcd7", "a1064f02ec1bec95a9d76799", "8db6a6f71f941d753810fa77", "fa4dfae56cf09623c7cb45dc" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1980-08-19T04:07:37.508Z", "created_by": "5c49cdf40a685fb378eb87f3", "last_updated": "1962-06-30T03:55:25.775Z", "last_updated_by": "525dbdfd0f4748c1e6c26da7", "lastUpdatedVersion": "quis magna exercitation ipsum", "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": "sint", "description": "dolor ipsum reprehenderit Duis pariatur", "app": "proident ipsum esse dolore tempor", "variables": { "error": "" }, "groups": [ "33a155a7175c2044f77ce4f8" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ "6bf42cab2235b4ffac58c7e7", "0e3ae799ad459cec1bac0d12", "c10401c270831ed3cbce76d6", "ab9fdb54868c62faf339843e", "86bdc141086c29a98abcf242" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "2005-07-24T17:09:42.569Z", "created_by": "18cbb4cd695c19453247f1cb", "last_updated": "1991-06-21T14:58:20.57Z", "last_updated_by": "061e9afd7e5a612f674e7e69", "lastUpdatedVersion": "veniam eiusmod", "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" } } }