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" ], "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": "sed dolor adipisicing nisi", "description": "esse velit", "app": "dolore", "variables": { "error": "" }, "groups": [ "4f2f54c1f90f0e3259557dd4", "611e472161b4a691ed905ef5" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ "218bb254a14301d320583674", "1de8167c8fc549d8186f7a69", "5705621ebbdde8e89bb8b2f9", "a4afb6d1e1d86aacbb30a244" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "anim exercitation", "font_size": 12, "created": "1966-06-06T16:47:55.002Z", "created_by": "d6c01d1c3c867bf6e351b3d7", "last_updated": "1999-11-13T08:18:35.811Z", "last_updated_by": "c085e05184bf34c2ed6f4557", "lastUpdatedVersion": "officia in in dolore", "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": "labore exercitation consequat", "description": "nostrud ut", "app": "mollit ad in veniam", "variables": { "error": "" }, "groups": [ "36b9cdf2e6292b38dad6cf50", "100dc9696d54e239686117f0", "f42b1b4dab15387f88fa59f0", "1b6a6f0e0416ac0efc742599", "54adb85fd2fcad5666872365" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ "3eb1e65af467eca127bd6a77", "4440e6620a195b9fab52560f", "63106c7d201dfc4b3062c423", "5a144fb2822f08691083d18c" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "ad in aliqua", "font_size": 12, "created": "1992-03-08T04:54:50.819Z", "created_by": "1b76e31e8fdc9808e74f9e11", "last_updated": "2021-01-31T02:40:40.623Z", "last_updated_by": "34849218f7b33656260dc559", "lastUpdatedVersion": "ex adipisicing", "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": "tempor", "description": "reprehenderit adipisicing", "app": "velit culpa", "variables": { "error": "" }, "groups": [ "fad878ff149cf5cb053faca4", "932b03b06f9065fc6022ef13" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false } }, "transitions": {}, "groups": [ "b858eeb26bd70518b5601d6a", "6fd6423f01fe9a4c3fecc2cd", "d40991590726ede83c128921" ], "_id": "4321abcdef694aa79dae47ad", "description": "tempor", "font_size": 12, "created": "1943-11-17T07:34:51.959Z", "created_by": "d118fbff88afe9d640339de3", "last_updated": "1998-09-14T11:04:31.41Z", "last_updated_by": "95138aa7ebdf3438de626cf7", "lastUpdatedVersion": "velit dolore in sint", "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": "in", "description": "incididunt aute eu dolor sit", "app": "proident in occaecat", "variables": { "error": "" }, "groups": [ "7d442cc678fc8d5055538381", "0b8eef00ee075f1e60abbf70" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ "2c99ff0a6b4bc6c8ef5042c2", "5c596502bd0244c310067ec2", "4d270e56b4797cc2e5e22395", "a2ec2838fa95f4feb45d8543" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "font_size": 12, "created": "1986-10-01T07:46:49.906Z", "created_by": "2cbf7b7450ff3e51536bb28e", "last_updated": "1995-04-04T01:34:35.892Z", "last_updated_by": "8efe145d4c19c6a7d8cd338b", "lastUpdatedVersion": "sunt magna adipisicing dolore cillum", "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": "aliqua ex sint commodo sed", "description": "incididunt tempor qui dolor", "app": "consectetur nulla officia", "variables": { "error": "" }, "groups": [ "c8af0391597c5769f2cf49f3", "fc372d050e47d1261dfff2bd" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ "7578b296ef72e81759b13615", "21bcae1e9d8d864eca6ea5fe" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "font_size": 12, "created": "1942-09-08T04:06:43.493Z", "created_by": "6df591042cdb3ae1d1e08c26", "last_updated": "1950-05-12T19:44:47.696Z", "last_updated_by": "fdc494a3383238b208fc6d50", "lastUpdatedVersion": "veniam", "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" } } }