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", "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": "veniam nulla in exercitation Duis", "description": "deserunt", "app": "ad ut dolore consectetur", "variables": { "error": "" }, "groups": [ "f0a6eaa1c97e2441f2a47270" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false } }, "transitions": {}, "groups": [ "98181150a04c29b062f70981", "96ac89742b171d2d62ef4029" ], "_id": "4321abcdef694aa79dae47ad", "description": "dolor nostrud adipisicing incididunt fugiat", "font_size": 12, "created": "2006-03-09T14:17:41.752Z", "created_by": "77489019d8815cf913e04007", "last_updated": "1947-12-25T09:18:46.357Z", "last_updated_by": "29bf3657f74fa93c7868550d", "lastUpdatedVersion": "sunt et nulla Ut voluptate", "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": "reprehenderit aliqua", "description": "cupidatat nostrud pariatur sed", "app": "eiusmod aliquip veniam ullamco", "variables": { "error": "" }, "groups": [ "2167bc5234b0922604c4c792", "92d57a3b3f5f02281ffe9a7d", "7e1121c9ae82e500b9dc5969", "0e99921bdd7eb40bec62140f", "1590ac3c15040e31bf6a0305" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ "7a0fec2fe0768233128e2ea5", "a3437c1cca8d5ae17c08ed15" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "font_size": 12, "created": "1993-12-22T04:24:54.704Z", "created_by": "c7b271572d7992c78c4c98b5", "last_updated": "1964-10-24T16:21:28.179Z", "last_updated_by": "a14858d17b85d7216c3fb185", "lastUpdatedVersion": "elit aliqua labore", "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": "elit dolore", "description": "fugiat cillum voluptate", "app": "ex culpa", "variables": { "error": "" }, "groups": [ "860c71b7000bb11622ff202b", "babe4d9322dc84f9f7791583", "e0dee9c47097a10843f5c900", "20103b257a7f42b7064d3449" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true } }, "transitions": {}, "groups": [ "eb4ae6be8655f0715ef7268e" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "commodo cillum elit consectetur ea", "font_size": 12, "created": "1988-06-30T01:30:20.314Z", "created_by": "e88f4a1e9eeeaa9b5b633153", "last_updated": "1947-09-30T18:17:02.557Z", "last_updated_by": "a72defebdf97c444664bed31", "lastUpdatedVersion": "cupidatat Lorem exercitation qui irure", "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": "occaecat cupidatat ex", "description": "nulla sed dolore", "app": "ad non et", "variables": { "error": "" }, "groups": [ "14e3b9cb5bc152977cd44af0", "651451d14e08e967344173c7", "ebaf85b4b4250a6cc95b21b3", "3d486a84fc083248ea51dde3" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ "46fe152e67f001816cc1b316", "5d83e5ba4d923ddb836b3be2" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "font_size": 12, "created": "1961-03-12T14:09:03.454Z", "created_by": "6a5238886065f1cbdddbb0e1", "last_updated": "2020-05-30T01:23:49.915Z", "last_updated_by": "9d7450e4649344e2bde7552a", "lastUpdatedVersion": "do ea sint", "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" } } }