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", "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": [ "0ba493718a5763a6d0641079", "e5b499d777a0fa6ba1c91686", "adf811960cb7170a7abef4a1", "fe2c7e0dc7240d2a612d027f" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "6f8c999fd68636710dc60194", "d3744d44140e9c1b808a5d95", "5ea457dcc7fbfb7124660485", "06dec87eb729e19037e3224a", "a454f31683289dd4954b5a0f" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "incididunt", "description": "proident veniam magna officia ullamco", "app": "labore sint", "variables": { "error": "" }, "groups": [ "dc8fa27379138799fda051e3", "4217b2e6facc9a84bb1ce844", "c08ce308832f8916cdbe0ddf", "cd4956e49c7582d4eb50ef64", "8a42b0d88f60b58fcb9f68b8" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "error" ], "autoRetry": false, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "cc6a92211a59c8b112b35367", "270a57b36af5c772c452f087", "6cc9a4715c2d4007bae23bd5", "2492b9d8c723bcba412b1d4f", "ffb5671035438df4079f48f5" ], "_id": "4321abcdef694aa79dae47ad", "description": "deserunt", "preAutomationTime": 5000, "font_size": 12, "created": "2000-05-25T07:21:00.616Z", "created_by": "97768f59343e639bfddb6293", "last_updated": "1960-04-02T15:01:04.962Z", "last_updated_by": "f0a873f6e59214703f6a7d46", "lastUpdatedVersion": "cillum est ad", "tags": [ "proident Ut consequat nulla", "in ipsum qui", "incididunt in fugiat sit Duis" ], "canvasVersion": 2, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "a840d395d0844cbee2725741", "664062d2f4a590589adef0fc" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "e4ddae6106eef2dce01de7f9" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "mollit ipsum exercitation", "description": "proident nostrud officia voluptate", "app": "laboris", "variables": { "error": "" }, "groups": [ "b1d8ee77cedcd655c132d992", "3b2728a112adbb09c1f604dc", "99a2b25763df88a290f1cf05" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "failure", "error", "failure", "success" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "5cf82534c24c1c56a847a11d", "fa4df1d7b34efb0efd484376", "6e53c2d00c90c440021fc44e", "226edee170464879dc4beca0" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1980-08-27T20:31:18.944Z", "created_by": "9b05a3cdc2f612cdfd88ad0b", "last_updated": "1992-09-10T04:48:18.236Z", "last_updated_by": "b0fb2bd378ff0db0726b5b25", "lastUpdatedVersion": "non", "tags": [ "id ut sint amet" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "71d8f9ce747ad242c3d2890b", "643e740d696ff482d08ec68f" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "41ce1cfc7cc667f9e1ff2d81", "78238def7d8a8299353d6198", "8c0d89822c00860f28e250ce", "e6e6bed457df0a366fea1df7", "9b5353dd246c7e6d09fd70eb" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "ad aliqua anim", "description": "eiusmod magna irure", "app": "do cupidatat", "variables": { "error": "" }, "groups": [ "1c102b13d01164333afd6741", "ac13b8701a72d8532b59bb55", "f8c1bf4beda4aaa0c6efd935", "08767487c81d3894682f2afb" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "failure", "failure", "error", "failure" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "ec751a14097a0f24943a5afc", "0a1ca99d91730d07fa01ab15", "44586e06f2104a40bf72a675", "662e977ba9e4eabc12cac0e2", "00a0c1e0dc774b57b9c28768" ], "_id": "4321abcdef694aa79dae47ad", "description": "ea non pariatur et deserunt", "preAutomationTime": 5000, "font_size": 12, "created": "1951-10-01T08:16:33.019Z", "created_by": "571cdd966f9ecbb91e0e0c08", "last_updated": "2023-02-13T10:12:45.575Z", "last_updated_by": "8476cb26331cfabf706cbd29", "lastUpdatedVersion": "ex deserunt", "tags": [ "id", "consectetur culpa dolor enim sint" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "3b91d3f210cfe9daedc46ae3", "a11d92ff0772c6aeb78cf966", "d8b572ee697794e57a647e4c", "4b9f3297f6bd0a69e696e897" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "08cd8d0d948dca93602fef1a", "bf7e2aea2b0e30951cfff01e", "082b5226fdb8ac8dface3bc1", "16f61f02ef8c38beadd388f4", "c066e77828bdf14b3fd0dfc3" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "sit dolore anim sunt consectetur", "description": "dolor", "app": "pariatur ad culpa amet Excepteur", "variables": { "error": "" }, "groups": [ "63fa2a2796d63213d4c1a689", "9da67faf97d90785b0668b45", "744147c6d4b83d4663e60189", "216fc26cddf1473fb270f796" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "004b5ffa0ff23035072093dc", "0eda0b50318074024407358d", "c4c4bfe680ee3d5bdafd0e00" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1991-05-22T21:57:05.226Z", "created_by": "78ebcba25c69d4277ec5acc9", "last_updated": "2002-03-01T04:21:13.386Z", "last_updated_by": "41dc50d7c46925b3ace879ac", "lastUpdatedVersion": "laboris ut ut nulla irure", "tags": [ "in laboris adipisicing fugiat" ], "canvasVersion": 2, "encodingVersion": 1 } ], "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" } } }