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", "owner", "user", "created_by", "owner" ], "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": "Excepteur amet magna labore", "description": "exercitation velit", "app": "occaecat quis veniam qui eiusmod", "variables": { "error": "" }, "groups": [ "b17b5c1142518571d7097b2a", "e8bbf0b36812a43395bc6ab0", "b78044a0e87d34dedaa07f9f", "bbb6b2fae4333a7edce4c0c3", "b2eb5e4007e4ece4a4f962c6" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "failure", "success", "failure" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "09963a6b36bdb4e4ca889325", "6fe5190abc73290df6343e28", "4cd4e038dce1e2291f3b8014", "2667fef1ee6c49bcf7cbb5df", "bcc6bc08b0a9c837f95f1f3e" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1952-05-10T17:11:59.995Z", "created_by": "0db559677a61c518711881fd", "last_updated": "1987-07-12T16:24:03.666Z", "last_updated_by": "d25824bc66b824dbe74f2e89", "lastUpdatedVersion": "qui fugiat sed occaecat eiusmod", "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": "pariatur", "description": "enim est", "app": "ea", "variables": { "error": "" }, "groups": [ "a549ccb4953249dbc5eb0a10", "fac0017ead5516710f990fe1", "a2dbe75abbf8b4f8b901e266", "864cf288a4fa0079bf401497" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "error" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "83cca70154883552f8f8b8d0", "2cc9d6b66d7c3814f5fd52b4", "bcad77a5132f6067483939ca", "75e5db493178468c5a6a6512", "c3613ee1e75a07e329eaef09" ], "_id": "4321abcdef694aa79dae47ad", "description": "deserunt in in exercitation", "preAutomationTime": 5000, "font_size": 12, "created": "2005-08-23T22:33:17.756Z", "created_by": "67f59d1944e8dba62eb8e6f8", "last_updated": "1953-08-01T10:49:38.41Z", "last_updated_by": "b848585c23bc9179174bb517", "lastUpdatedVersion": "cillum aliquip incididunt magna", "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": "dolor amet", "description": "velit pariatur in tempor", "app": "do cupidatat minim", "variables": { "error": "" }, "groups": [ "7516c2314ca705053645e356", "357e9de8af86a366b5a46f6f", "bd3cea8f4ebc5ef32a5daf15" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "failure", "failure", "error" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "aad6507df75fed2caea3cd5c", "e19ff2677055c5b5e711a329", "1582852bdf6a9fb1e28cbf82" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1988-03-03T03:28:46.492Z", "created_by": "744bca16f05c3681dcb40124", "last_updated": "1998-11-19T11:14:54.498Z", "last_updated_by": "9e9152f1b2991aa495d036ee", "lastUpdatedVersion": "ex eu Ut", "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": "non cillum eiusmod elit in", "description": "eu deserunt enim occaecat ut", "app": "sint", "variables": { "error": "" }, "groups": [ "6da239596738784ea9c09f9e", "26e7755c6dfcbeb260a1ffdd" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "success" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "5d470839f7c7f1785d9a2169" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "veniam amet", "preAutomationTime": 250000, "font_size": 12, "created": "1989-04-27T23:30:53.781Z", "created_by": "79d97b3054a3aea6c9fb49ce", "last_updated": "2022-06-07T21:50:52.591Z", "last_updated_by": "f266715009e0a54d11cbc7cb", "lastUpdatedVersion": "anim velit sit", "tags": [], "canvasVersion": 2 } ], "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" } } }