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", "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": [ "b6831382c714db4aa7f0c913", "53bc74e1e37666d6c9e79593", "22cee89e5b81fc473768b492", "a26b2a2de45595ca163cfc24", "41e511b615bb6da8f571981a" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "8b1e1f27ad3f13eb41ab9a16" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "magna consectetur elit sint", "description": "aliquip nostrud incididunt est", "app": "proident esse Lorem consectetur officia", "variables": { "error": "" }, "groups": [ "7124f71b370769f4a552b9f6", "562e1ec5c7b7e7e7b4f6e983", "77478089536c62d8c15ad1d6", "f2b885f3c7712391b4a9311e" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "success", "error", "error" ], "autoRetry": true, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "5b574edb037aec550a9104e1", "6cb0b7ae011cda4791182eb2", "22724d708cfdc9c5e9de0ced" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "elit culpa nulla", "preAutomationTime": 5000, "font_size": 12, "created": "1996-09-11T10:56:22.5Z", "created_by": "4a21657ae9a9c1f28e6654c0", "last_updated": "2001-01-16T20:49:17.854Z", "last_updated_by": "2f9d6341dc145011c67fd9a5", "lastUpdatedVersion": "incididunt quis consectetur", "tags": [ "Lorem consequat adipisicing", "sunt ea aliquip ex dolore", "ex", "consectetur id sit sed cupidatat", "id sunt" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "5379bf55c4b1cef6f8ea7dd8", "64486bb8c993c14c8d90a25f", "8d7f9e0e7e12640899c777d1", "4c51f700cf8a9526bef0b084", "bd7636d7c57e67ecb5b9b723" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "7fe368c20d747d68bf109a21", "3ac9e6a3ae2a38f40f72757f", "64666efcaff42306def7eaa7", "de82d60f53f074de2067c644" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "qui Duis est tempor", "description": "in sit", "app": "mollit", "variables": { "error": "" }, "groups": [ "4473a945346d6043bb8a1feb", "4dcc02920cdf213cd4cda276", "b94dd9a46ebedf1b78402a82", "a7fbc2e3772f8ceb9b47a9c9" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "bf0d660737f679df2412cc96", "47182b04195ec91db76ead67" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "officia sint esse in", "preAutomationTime": 250000, "font_size": 12, "created": "2000-11-22T06:39:59.211Z", "created_by": "ce82a3b0d80f3fc7c59a5e3b", "last_updated": "1989-12-14T10:05:56.763Z", "last_updated_by": "fd9176908f6b1eea9c8c79e7", "lastUpdatedVersion": "ut et pariatur minim", "tags": [ "ea", "Lorem cillum ea pariatur nostrud", "eiusmod sint", "ex deserunt aliqua Ut ipsum", "aute Excepteur" ], "canvasVersion": 2, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "4002f8b68f28953fe669b2a8", "da5c02f242a5ddb36e139501", "32b0241ffcf86f5ed09a3956", "55da61b35bf3d8e49595fd0a", "892987603e022714007531b9" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "5b59842aba763f2dd2250109", "f719b72822028ca9f4ce5ee4", "9ef97d66a1aca361cd453097", "8163ab1100efc8ab31c3fb75", "d8760099556c8f4abab0496d" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "ipsum", "description": "velit aliquip sunt minim anim", "app": "consectetur et aute sit ex", "variables": { "error": "" }, "groups": [ "e0da9513d0152705ec2d19c9", "892fe2f7df51ac3f6ab02c4a" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "success", "error" ], "autoRetry": true, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "16754172e48071ade4b6e9ec" ], "_id": "4321abcdef694aa79dae47ad", "description": "dolore commodo deserunt dolore", "preAutomationTime": 5000, "font_size": 12, "created": "2008-06-11T15:10:49.194Z", "created_by": "e8d7bdaa78ca9cc0cfd72e1a", "last_updated": "1950-10-12T19:38:36.722Z", "last_updated_by": "df1f0fb1cb3c448c4752e07c", "lastUpdatedVersion": "ad Excepteur esse cillum sint", "tags": [ "pariatur", "Duis nulla aliqua", "aliqua sunt velit", "laboris ut deserunt exercitation aliquip" ], "canvasVersion": 2, "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" } } }