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", "created_by", "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": "aute", "description": "Lorem occaecat fugiat", "app": "dolor pariatur velit", "variables": { "error": "" }, "groups": [ "85d55af7a367ae99d1c67c70", "08abf53eedc0a5d16dffabb5", "637785b8ea8e0f5c79f02829", "30950282bca254c6aed7cc94" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "e78a6930986e5b06ce19ad30", "9886b08c8b3e61f787d2d68d", "26168bf1c68ade6259c45f10" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1957-05-21T23:19:24.885Z", "created_by": "c72af781d667d02215a033a3", "last_updated": "1968-01-27T02:21:13.75Z", "last_updated_by": "0023c1dc3118996a93ec75e7", "lastUpdatedVersion": "ullamco labore", "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": "laborum qui laboris", "description": "consequat sunt occaecat", "app": "id mollit magna", "variables": { "error": "" }, "groups": [ "28a27a6b424bf832e4557f08", "e0075249d66d4609a35901c4", "6b5dfb81d4ba913aeb4e681f", "1d5ee48c358d809068f5387c" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "failure", "success" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "fd327baa5bddb4d0af574c78" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1961-01-17T14:03:53.143Z", "created_by": "42d056e07f98fbb0913ed261", "last_updated": "1959-10-23T18:13:05.711Z", "last_updated_by": "51ed2e906c978e8b7f8969a1", "lastUpdatedVersion": "consequat", "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": "culpa", "description": "consectetur veniam esse", "app": "irure", "variables": { "error": "" }, "groups": [ "253872bfd8b5e65192befcf4" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "error", "failure", "failure", "success" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "fb9d100acd956489402cf815", "e72a5e9241e6eec179f9f89b", "50b6a052f24527b01f701c44", "aeb4659c12861685be067e24", "97102168e2cba86f034d40c2" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1990-10-18T15:13:46.468Z", "created_by": "4d1fd7a982b492daf483bc6d", "last_updated": "1983-09-16T08:59:44.266Z", "last_updated_by": "d8cb22a8f4ac2b36cda901eb", "lastUpdatedVersion": "proident id sit enim Excepteur", "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" } } }