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" ], "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": [ "2b240f0af4313b6e4ed14bb1", "e1ce6458a75b60817ee5aa9b", "00010b3cf1555c99dee52a93", "72fb6459e8b11633036e991f" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "86276f2b12dd228bc17d57e2", "5ebe95e1e4df5a2a97687f58", "20d5c725de5804919656f973", "ad7f793df6e0fc7bf10c83e2", "6967506c0b43d3a99445bf81" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "in reprehenderit sint", "description": "et sint culpa esse", "app": "cupidatat do Lorem esse", "variables": { "error": "" }, "groups": [ "fb4299937e430ea7fbc6d9e6", "d7098c063f62157036992eef", "1c2490969237e938c629587b" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "error", "failure" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "173740ce393c5ff7e0dc8da1", "a281bb34cdd9d778fe70612d" ], "_id": "4321abcdef694aa79dae47ad", "description": "ut velit", "preAutomationTime": 250000, "font_size": 12, "created": "1979-12-14T19:52:42.042Z", "created_by": "bff80147fd123bba59c5c822", "last_updated": "2024-07-16T06:07:05.64Z", "last_updated_by": "ea4df51110b14356fe51f1a5", "lastUpdatedVersion": "officia ullamco anim minim occaecat", "tags": [ "dolor laboris" ], "canvasVersion": 2, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "e38d400e59a89bdeb99d30e2", "9d5cdcb4b32ef9a960668f55" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "5a8d0e6aac7a897d9ab1fa58", "bd3d790f770f841f7425729d", "0c43f127d419a4e172b78bf5", "f4f5df4ef53dda200b318eba" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "aliquip", "description": "fugiat ad reprehenderit", "app": "magna", "variables": { "error": "" }, "groups": [ "429067a129606914deae0f48" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "error", "success" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "775f1b8853c3ae8cd22e0583" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1991-02-07T15:51:05.505Z", "created_by": "65d4e877e3ea0f32f71e7c25", "last_updated": "2014-08-31T15:20:33.779Z", "last_updated_by": "31bee55588adbb8547c41ff7", "lastUpdatedVersion": "minim sed officia", "tags": [ "proident culpa" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "86a64f17399f1747a290e275", "59f238becdc8c3358c05e377" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "4687b8498c8199dfe5050c18", "4fa91957a5e4a78a2ae43cda" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "fugiat", "description": "sed", "app": "velit elit laborum id", "variables": { "error": "" }, "groups": [ "e4ead0bdda7211234bf776ba", "50d83172bbde405011b30564" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "failure", "error", "error", "failure" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "ad85afffda3a74021cf045c2", "a9f35fd80ac754ef0c6a8780", "aed1e0c5aae329a3c34cdaab", "a0d837d28ad8632eae5cf84f" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "minim culpa", "preAutomationTime": 250000, "font_size": 12, "created": "1992-10-03T20:31:23.858Z", "created_by": "807dfe05eaaa88cfd6dde93f", "last_updated": "1986-09-25T12:31:34.046Z", "last_updated_by": "02340f71efefb9ea9b3d90f6", "lastUpdatedVersion": "incididunt in magna sit enim", "tags": [ "esse quis sunt in", "dolore magna exercitation dolor" ], "canvasVersion": 2, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "f2679a729e2c011e79cbff8f", "c2ac427554e9708f390e8665", "5097272e333915787b1afdd8", "602417a94afd2cf0bf8a864a", "c0ebe7f89474cde02fb3ed6c" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "d6f051d2a2ef4203299d9efe", "05beb67a03115817d6eea32e", "06dac4654de8e50daeac6f2a" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "consequat nulla", "description": "irure esse nisi laboris", "app": "laboris ad tempor", "variables": { "error": "" }, "groups": [ "f8a324be5c56a8dde963782d", "722711e533db3c4f846c900a" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "success", "failure" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "e5d81748d1dc2767e102826a", "b0576fdc001f5434f6007797", "c84bdb6bcdda274745cf8365", "66bcf4b3ae7f2bdbbb2daf7d", "b7939b96fbcc9e3219b978fc" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "officia anim", "preAutomationTime": 250000, "font_size": 12, "created": "1958-11-11T13:24:20.801Z", "created_by": "b00c5603b8411a95e33e593b", "last_updated": "1960-05-17T17:50:15.008Z", "last_updated_by": "f054663c072ae8f1bc686bc7", "lastUpdatedVersion": "ut Duis reprehenderit eu", "tags": [ "labore laborum", "veniam anim velit", "culpa et ullamco", "nisi", "dolor" ], "canvasVersion": 1, "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" } } }