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", "user" ], "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": "mollit exercitation nostrud", "description": "ea ad mollit", "app": "dolor ea dolor irure", "variables": { "error": "" }, "groups": [ "551bbbb3f7843fb2027e1d6f", "85a74a6a0f22d2c6bdd8a258", "6b2690c10eb532b3df4510f1", "1bd53d122c859e2089d37835", "e72a73928de49eb97dfc9ca8" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false } }, "transitions": {}, "groups": [ "720d856ef2d0d3a6fec19cb9", "67bad4efffc2146d94ff6198", "11f022df426eb33d584bad16", "022c69405e59b7077ec828bd" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "font_size": 12, "created": "2012-05-21T21:34:55.576Z", "created_by": "cf45fad91cbef78e2bbd5808", "last_updated": "1966-02-27T01:21:12.805Z", "last_updated_by": "9d6e9fb1562e5b2e8b41d164", "lastUpdatedVersion": "officia ea ullamco", "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": "commodo sed ipsum voluptate", "description": "ut", "app": "cupidatat laborum magna ullamco", "variables": { "error": "" }, "groups": [ "c70960c3916421c465029007", "dd263050340513375d267887", "ed128cf4b39bc4cb0a5f7a41", "9e70a8e93aa59fd563ccd7ba" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false } }, "transitions": {}, "groups": [ "ec82792fed8ae366f58cff69", "831c9848119c402b7abd85ee" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "font_size": 12, "created": "1952-07-10T10:44:24.508Z", "created_by": "bb7dfcbd592944c0af535f05", "last_updated": "1956-03-22T14:23:39.158Z", "last_updated_by": "ca7bff4a9fdd426260e5e7ac", "lastUpdatedVersion": "cillum sint id non in", "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": "magna", "description": "labore Excepteur quis cupidatat", "app": "id aliqua dolor tempor", "variables": { "error": "" }, "groups": [ "417ad822e2ccf1fd7cca479f", "010725be9db5daaef82db20c" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ "6664f2158cac89972c047b20", "4e1f6cd51f3b43cd9f15ea72", "fe3eb70684654998efed320c", "d43626e03878685331322a7b", "3862957417ea046513072d8a" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "font_size": 12, "created": "1986-10-29T12:58:29.168Z", "created_by": "3c5a3e46369b7a1f55554f89", "last_updated": "1980-04-23T01:01:18.373Z", "last_updated_by": "dfb39207f7bd2829ca50ae7a", "lastUpdatedVersion": "nulla", "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": "laboris", "description": "consectetur", "app": "magna voluptate", "variables": { "error": "" }, "groups": [ "728a24d1852c867904388b24", "a2538e2dbcae21286a314d76" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ "4449fc775a430b3621e93ffa", "a217814b22cc5db73e4d7dff", "df2902428659a2dbaa48d151", "f4f07479d4e0e563d4aaadab", "494daed3992aa4415fd40155" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "font_size": 12, "created": "2012-03-14T11:39:08.842Z", "created_by": "e8cf26ed2c0f63c9ac7e6560", "last_updated": "2017-05-26T01:03:35.744Z", "last_updated_by": "cc47030d5daea3acf2e49ca8", "lastUpdatedVersion": "dolor", "tags": [], "canvasVersion": 2 } ], "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" } } }