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": [ "created_by", "created_by", "owner", "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": "nulla consectetur laboris tempor sint", "description": "ex in", "app": "do elit cillum tempor laboris", "variables": { "error": "" }, "groups": [ "2bf99fa5bfebb1f4db8c03c8" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "0603743dd56d7202cb710e51" ], "_id": "4321abcdef694aa79dae47ad", "description": "ullamco enim", "preAutomationTime": 250000, "font_size": 12, "created": "1970-01-09T05:49:45.541Z", "created_by": "3f6a380abf0700d05f8ef034", "last_updated": "1954-08-27T03:03:46.331Z", "last_updated_by": "a9df710bb973537e1193ac65", "lastUpdatedVersion": "sit", "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": "minim dolore enim adipisicing ullamco", "description": "ea", "app": "cillum eu adipisicing occaecat veniam", "variables": { "error": "" }, "groups": [ "673411ab5b2653c6c7542e09" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "error", "failure", "failure", "error" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "696df54fa32bc29997060673" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "2008-04-15T19:40:27.538Z", "created_by": "e98cbfafb7a6cbb1c9ba07ec", "last_updated": "1949-12-14T04:07:38.438Z", "last_updated_by": "c0cf15423c0bee1261c96369", "lastUpdatedVersion": "esse velit Duis", "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 ex", "description": "voluptate fugiat", "app": "sunt dolor Excepteur", "variables": { "error": "" }, "groups": [ "79f244668d74295759192f5c", "ec40d055e83da8b510e0c15e", "b828e8acf1e8940da6251555", "a971375ff26c153feb721652" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "success", "failure" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "5b1c7bcce27359f367776e4f", "50b84ea8ddb0948eb44ec969", "a0cbb051873c9f0dcfe86800", "3774ba7ed87558125bb3218f" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1954-12-28T02:33:01.421Z", "created_by": "5b65c01bd037d92241b284ba", "last_updated": "1947-07-30T17:11:39.041Z", "last_updated_by": "c6b1f20edbf40886d0df84d3", "lastUpdatedVersion": "sint et dolor Excepteur nulla", "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": "aliqua", "description": "est", "app": "id", "variables": { "error": "" }, "groups": [ "a71c2ed8c9d0326366135503" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "success", "error", "failure", "error", "failure" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "43794ce4263f4ba1e84d1631", "2d86a3d705a88f5f042da3d8" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "dolore", "preAutomationTime": 250000, "font_size": 12, "created": "2016-09-22T14:46:04.149Z", "created_by": "c952d6b20ed9a86f84daf48d", "last_updated": "1953-03-29T13:07:47.986Z", "last_updated_by": "ec18128f860fe8c9ca907663", "lastUpdatedVersion": "adipisicing velit pariatur Lorem", "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" } } }