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" ], "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": "nulla mollit veniam deserunt", "description": "ad reprehenderit voluptate laboris", "app": "aliquip exercitation eu ad", "variables": { "error": "" }, "groups": [ "b104bfc7e84a5e48b35c6bce" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "success", "success", "error", "success" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "7e0537b21fd904bc0f613ac5", "fcb91c9b4554c16566afb508" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "deserunt elit irure dolore aliquip", "preAutomationTime": 250000, "font_size": 12, "created": "1952-03-07T08:00:02.09Z", "created_by": "ce9b6a91f3ac0b7c5b8b7024", "last_updated": "1966-04-01T02:30:37.136Z", "last_updated_by": "b87d53fef1ad235852cae2b8", "lastUpdatedVersion": "tempor quis sint dolore", "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": "labore elit voluptate eiusmod", "description": "culpa ut in officia", "app": "veniam reprehenderit dolore fugiat esse", "variables": { "error": "" }, "groups": [ "5d9836b52501659267f0644d", "a07146e9117751784e4fe6ee", "cbd9a2b13024405d897aa545", "672fa256de20c9596e8abdbc", "2c7a103e79c7c4cd227894a1" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "failure" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "4d7c864cf46320a7d87d63fa" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1951-07-16T21:33:08.603Z", "created_by": "53636124b07f71cbb70bd196", "last_updated": "1958-01-23T01:00:07.029Z", "last_updated_by": "91e2a173e1d6ea03dfa9aee1", "lastUpdatedVersion": "irure in aliquip", "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": "ad esse dolore do", "description": "ut dolore", "app": "ullamco aute", "variables": { "error": "" }, "groups": [ "8c36871aa9dec6c3c59588f3", "c636572baa504fe657e42293" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "error", "error", "failure" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "5a22df13528daaebf3139c49", "a4b889b91a176c8d20a17468", "82404670feebd5b39e3549c3", "63b87079b1ae142f2f20a004" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "2021-02-19T18:56:57.82Z", "created_by": "74a880a7d3b987b218f0480e", "last_updated": "1970-06-09T05:20:44.351Z", "last_updated_by": "09a10fb82a29791f6bbcfb3f", "lastUpdatedVersion": "ut ut", "tags": [], "canvasVersion": 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" } } }