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", "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": [ "6bdedad553c368f3879dbdf0" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "11fc60e1177bb17aae2dac71", "bdcaf9d15f76a65d95452db5", "ea13006207046db6427153db", "6029547d24f462b972e1e1fa", "fcfe4c9726811ab17a61ca8d" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "dolore", "description": "irure", "app": "nulla pariatur nostrud", "variables": { "error": "" }, "groups": [ "bf2cac7884f33c126d03f40d", "42b2aa11ea7522efae281c35" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "error", "error" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "957c2bccc3fb1309035bb2a0" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "sint voluptate pariatur", "preAutomationTime": 250000, "font_size": 12, "created": "1953-03-18T01:57:04.394Z", "created_by": "5dae54676efa668d621a47d1", "last_updated": "1978-10-18T05:01:47.693Z", "last_updated_by": "2c0bd62176e0490b64ba3a99", "lastUpdatedVersion": "consectetur labore", "tags": [ "pariatur aliquip deserunt labore aute", "dolor", "id dolore deserunt elit", "ut id adipisicing ea", "quis" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "399c3bc71bedc251919f8474", "129979a3a740484f081e7288" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "9754ea14b351c8936cb79ba4", "2fcfcb44f87c21fb0f81bd46", "2777ac484f48dd2e8d6c3b81", "4019217a9bf6eb20223a6df0", "be86eebb44949c672a462dfc" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "in eiusmod nostrud in", "description": "est reprehenderit dolor", "app": "irure sed minim", "variables": { "error": "" }, "groups": [ "7cbc3975fc7f1c0fb861af35", "e6815c8329487113bf77136c", "0fb15d34da03424ba7d78080" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "failure", "error", "failure", "error" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "885beb47f1863def2ef02b47" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "qui", "preAutomationTime": 5000, "font_size": 12, "created": "1978-05-01T10:59:39.473Z", "created_by": "ed56be3b611deb158e37617b", "last_updated": "1987-04-15T11:21:38.38Z", "last_updated_by": "7e50b595c93574646c400c9a", "lastUpdatedVersion": "reprehenderit commodo et cillum ullamco", "tags": [ "in culpa ut" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "09919814b6997be5a9d1dfea", "0f1b89429b6fbd40a9beb5cd" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "5280b78d9bc211073379fb69" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "dolor laboris reprehenderit anim nisi", "description": "eiusmod ea incididunt laborum", "app": "magna", "variables": { "error": "" }, "groups": [ "e18962a3c01be1ed1a956a88", "e5d987b0977d70c4ec99ab1e", "7d9628e5d19303c7275dc766", "d3d806f34553d063c5dfe702", "5dc8573ea312e730dd7bd0a4" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "failure", "failure", "success", "failure", "failure" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "6fd4b344de2be1a6c8fa3d57", "745eaa264c7984118aec242c" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "Lorem cillum Excepteur eiusmod", "preAutomationTime": 250000, "font_size": 12, "created": "2018-07-17T05:38:28.56Z", "created_by": "8d65fc3adb27caa5cda009cb", "last_updated": "1985-12-04T07:15:04.553Z", "last_updated_by": "c241bf4115a1a5f59ff9497f", "lastUpdatedVersion": "non Lorem amet", "tags": [ "exercitation aliquip aute Ut reprehenderit", "in culpa exercitation cillum" ], "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" } } }