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": [ "owner", "created_by" ], "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": "et reprehenderit pariatur", "description": "pariatur dolor", "app": "aute do", "variables": { "error": "" }, "groups": [ "4d54a20889f3011182bb90e9", "6baa4ca612cc6fd2bdcc840b" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "failure", "error", "failure", "success" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "b3ee6e4b377d0c295433d629" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1951-08-18T05:53:14.663Z", "created_by": "0560a6ebaa3de38262e018d6", "last_updated": "1981-12-07T12:35:36.343Z", "last_updated_by": "1853f7cbf52e3989e81639e4", "lastUpdatedVersion": "incididunt officia eu pariatur sit", "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": "laboris sunt Excepteur id reprehenderit", "description": "tempor commodo", "app": "proident", "variables": { "error": "" }, "groups": [ "b086e63334d7adbb67fd9810", "b2dc068ef7396a52e8bad51d", "88d54790c5b38223a4701550", "e3e216ccf9043a5ce2db1c89" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "success" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "e34c7c3293c287d1809001c2", "951f4c04aeaa79364076ee21", "631559ab209f06d3d69b53c3" ], "_id": "4321abcdef694aa79dae47ad", "description": "enim aute eiusmod sunt esse", "preAutomationTime": 5000, "font_size": 12, "created": "1995-05-23T04:37:08.488Z", "created_by": "f8821ed6eb76ddfd6888fc66", "last_updated": "1990-12-22T20:46:23.132Z", "last_updated_by": "852a0e8a6616a922c6fdf5fd", "lastUpdatedVersion": "tempor ut", "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": "consectetur", "description": "sunt ut", "app": "deserunt exercitation non", "variables": { "error": "" }, "groups": [ "f3a27899b986ceaee4ccb37a", "23473aa93fae168717313f65", "9f4647145562da3ac8812bfa", "5349d1b2c0388074ed33b879", "3e6c06f78266b63fa24ff386" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "failure", "failure", "success", "success", "failure" ], "autoRetry": false, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "36cb2eeac86c256c1cac9d96", "46488716aa0e0362c129b0c5" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1942-04-26T09:14:39.467Z", "created_by": "a032c13a7c204f64b4d3baa2", "last_updated": "1994-01-26T11:47:43.001Z", "last_updated_by": "49dd8c297d5bcaa8a71695af", "lastUpdatedVersion": "cupidatat non do consectetur", "tags": [], "canvasVersion": 1 } ], "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" } } }