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": [ "created_by", "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": [], "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", "description": "et dolor in", "app": "elit officia ad", "variables": { "error": "" }, "groups": [ "f56ae13a1aba068845903a78", "3f0252443cc154b3f6c5da05" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false } }, "transitions": {}, "groups": [ "f71a26bce27efef8e1f4d64a" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "font_size": 12, "created": "1967-02-23T15:33:13.021Z", "created_by": "10977bc2872a36513a5d3d32", "last_updated": "1964-09-07T08:31:12.893Z", "last_updated_by": "b3f114080d048392cbf1d7a1", "lastUpdatedVersion": "ullamco", "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": "ad aliquip occaecat in", "description": "est ut ad aliqua exercitation", "app": "dolore Duis", "variables": { "error": "" }, "groups": [ "497661ff1175e6bd98ae68d3", "9348e014e5663e4f3065727e", "bf9b7e4f9b1e4308a7f890d4", "6205e7624aa4150cb74eae2c" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ "a1737ea6388a72d6828e9bee", "094c94454fce2a3eec8f8e47" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "veniam velit qui", "font_size": 12, "created": "2007-05-15T01:26:05.059Z", "created_by": "af0b6d1d3b662b6d941a11aa", "last_updated": "1987-08-11T04:42:32.633Z", "last_updated_by": "3fccb80ddcf54cb4ed4a0dbe", "lastUpdatedVersion": "consectetur", "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": "consequat nulla Lorem tempor", "description": "ullamco ut Duis officia", "app": "fugiat id cillum Duis enim", "variables": { "error": "" }, "groups": [ "c8edb3b5d83c6e319ffb1112", "7196efea211b7d25fa3fe389" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ "8420fbbcbc38603ac4d7a036", "0500f53e42189351ddf95ecc", "065e10fc7e0c55e0e8fb051b", "19fae33be373ead2f38d4a66", "ef2e20d1aed32c8242150f10" ], "_id": "4321abcdef694aa79dae47ad", "description": "dolore ipsum commodo incididunt", "font_size": 12, "created": "2012-01-20T19:28:37.89Z", "created_by": "e8897d6d9a73d5713452f5ef", "last_updated": "1998-06-14T16:47:39.767Z", "last_updated_by": "f3dc63e099105810137e25cf", "lastUpdatedVersion": "qui tempor", "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": "quis exercitation Excepteur qui cupidatat", "description": "aute eiusmod aliqua id ex", "app": "id magna Duis", "variables": { "error": "" }, "groups": [ "a2ee83106e14b21abde02cce", "bcc29048a2fa5b044218f15c", "c56eefd5d14960643307fccb", "598c43f24d0c9090cde499c2" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ "4b26daf0cfd93ed3168b275f", "a01639610ddcd7dcf11f8ac5", "75e632252aba23b05de6bbc7" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "nostrud", "font_size": 12, "created": "2010-09-13T20:42:47.408Z", "created_by": "00b40df8049995a62a4ccf63", "last_updated": "1998-11-17T06:33:44.86Z", "last_updated_by": "cf106c6792ada2ac59d2c8af", "lastUpdatedVersion": "Excepteur incididunt dolore et", "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" } } }