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", "owner", "user" ], "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": "eu sed tempor incididunt", "description": "esse culpa", "app": "sit", "variables": { "error": "" }, "groups": [ "f75667813ca59645a2faaa46", "09768d7b38fa3cfb02c09be3" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "error", "success" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "9c0808125bcc938fa04779cb", "ce010b1b56b15e71c51b44f9", "47e182657a2bfb477be333fa", "6f3bc22138c28a6bf956c94a", "4f88a46ae3ff807c7fe0e0db" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "cillum", "preAutomationTime": 250000, "font_size": 12, "created": "1958-05-17T01:02:00.781Z", "created_by": "c66b41e4a39dab7105c855ef", "last_updated": "2003-06-28T03:00:39.175Z", "last_updated_by": "0b6ec1dff1d5b60f3f79a4f5", "lastUpdatedVersion": "cupidatat exercitation", "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 in mollit dolor sint", "description": "esse dolor sit", "app": "dolore ut", "variables": { "error": "" }, "groups": [ "f7e8aa28b9475b6e51de4b9f", "10b14b261890f02d38c7302f", "c40cb4da859228ce31d732be", "f5c83335d36c312628109214" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "error", "failure", "failure" ], "autoRetry": false, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "fb09c83007c742a844fa6092", "d361ac5f556e9338891aeb0e" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "2007-01-16T16:42:25.167Z", "created_by": "ba2aca7f123cc155ef2001af", "last_updated": "2009-09-10T00:31:42.702Z", "last_updated_by": "04bb423a55b378b7cb4d8fe9", "lastUpdatedVersion": "Excepteur 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": "magna", "description": "cupidatat culpa exercitation", "app": "Duis", "variables": { "error": "" }, "groups": [ "5ea765f4af302220060138b6", "31a753c8f98be84bdb98055e", "e35009ba98124102c799e9b9" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "failure", "success" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "637ace8959773d98e4538f05", "3f5d84640a6389d536582dd0", "029aa2ffcdbe4b5573e96693", "e7adaf9e26f86f0b6d2e1877" ], "_id": "4321abcdef694aa79dae47ad", "description": "exercitation in", "preAutomationTime": 250000, "font_size": 12, "created": "1989-01-05T21:57:04.307Z", "created_by": "ee9fcaaa588871074a37dd1f", "last_updated": "2007-07-28T11:48:24.431Z", "last_updated_by": "542d704560d00ae651a6f1c7", "lastUpdatedVersion": "Duis deserunt ullamco 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": "magna non", "description": "voluptate esse", "app": "est non in do eu", "variables": { "error": "" }, "groups": [ "9654db57c8eb926a5916585a" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "error", "error" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "ab3e9b713236f7465844c4fa", "be243cdbe1932b0523eccb23", "e4108261707e1cc6bb549df8", "2650b67bcfb3ccbd1732f11f" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "Lorem", "preAutomationTime": 5000, "font_size": 12, "created": "2000-05-14T21:41:49.634Z", "created_by": "2e59a78149ca1e55d3efa7cf", "last_updated": "1946-06-10T10:54:41.037Z", "last_updated_by": "6aaafc9073ada04a0f126783", "lastUpdatedVersion": "ut irure dolore", "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" } } }