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", "user", "created_by" ], "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": [ "31a9b81209747c997bab4514" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "226289441e8830e255734726", "10596405da9e1e51ecad5a5d", "fd1c19709d5182165da66185", "7b50980fe9e72f4a1897014d" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "mollit laborum ipsum", "description": "nostrud est culpa in", "app": "dolore enim quis", "variables": { "error": "" }, "groups": [ "65f1c917834e779f23a1e119" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "failure", "failure", "success", "failure", "error" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "5847e72ac7a86501b4910ad9", "307e36b088bce4d6c4b3ad23", "ba737da9f792262cb1602b59", "1673b2075e1087ba255b18e7" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "exercitation enim nulla eiusmod", "preAutomationTime": 5000, "font_size": 12, "created": "1986-02-10T13:59:25.799Z", "created_by": "9f4b854026691c499c680b05", "last_updated": "2021-08-16T18:41:38.916Z", "last_updated_by": "0419f11b08ba883a69787d67", "lastUpdatedVersion": "proident dolor", "tags": [ "ullamco reprehenderit exercitation do eu", "eiusmod minim qui consequat", "officia sint voluptate in" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "84420c6801c6c4a6e5f2e8b8" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "d963e2d216fe800b86ec8b0f", "58bad0cf906f29d278b3b611" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "commodo aliquip", "description": "eiusmod irure occaecat", "app": "proident quis id elit anim", "variables": { "error": "" }, "groups": [ "6640b9b1ac5e462d6566ba05", "75533acfc00e90f012b72793", "700324f4c2e866990aa6633f", "1ac42c9aa0cd6fbe55f07ba3" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "success", "failure", "error", "success" ], "autoRetry": true, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "f6da267c10a6a46cf215ef13", "24011b833006c5f4edbd11ef" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "2022-12-28T00:48:18.677Z", "created_by": "5a6e23d23737d6024f2ab26c", "last_updated": "1959-10-05T08:22:28.253Z", "last_updated_by": "88bda4fe2e5769815a9fbe83", "lastUpdatedVersion": "eiusmod sit ut", "tags": [ "ut deserunt Duis eu", "reprehenderit consectetur aliqua" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "ada0fe2495e71ec315a24854", "397314d576f755603f01e361", "c96465b96da5d448c057f927", "2aec17ca6c667728191c49db" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "a5099381dbeb43a057fb578d", "d8d38b7fbacae193af1311c7" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "elit", "description": "eu nisi incididunt ipsum", "app": "proident", "variables": { "error": "" }, "groups": [ "5940b43ae694f529185010d5", "5fbc7a9a65177f8605bfd176", "39c06075e46e68f7060f79c7" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "failure", "error", "success" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "9716d826721c1ed8e1944d19", "9389ab45e24776c397ada091", "4e5b2c8bf5b65f45877bd1ee" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1955-05-15T04:12:14.815Z", "created_by": "4f3a9a17de70f3c23feccdcc", "last_updated": "1972-04-18T00:19:44.748Z", "last_updated_by": "c0b4f32e4a5a7cbf7eea1e82", "lastUpdatedVersion": "elit pariatur mollit tempor aliqua", "tags": [ "ut proident non", "aute", "amet occaecat cillum irure qui", "aliqua pariatur", "culpa nulla nostrud sit veniam" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "951102e19325b01f5ed30ff2", "67cd04cf37bb17898bb58087" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "6eef24afce5da68a433a5560", "81ac4cb6eae06b8e17f0590d", "952eb0264d2eb4801bdfc02f", "1d053bd1691fcd735b22e9a7" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "sed reprehenderit laborum voluptate", "description": "consectetur ex nisi quis", "app": "est", "variables": { "error": "" }, "groups": [ "0ffde2b39f713bad25859159" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "failure", "failure", "error", "success", "error" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "dee13a5fca8ccaf08602c676", "b2f762fa545a27c53fd87a2d", "0cf36aebfdfcbff50f59c249", "8d18b0a62b673f5835b400f2", "20c3a05783dd7baabcc006c9" ], "_id": "4321abcdef694aa79dae47ad", "description": "culpa", "preAutomationTime": 5000, "font_size": 12, "created": "1949-03-13T15:09:27.787Z", "created_by": "27f78abf6c68865c3cb8ad4f", "last_updated": "1969-05-13T17:40:42.65Z", "last_updated_by": "9b5928ed47845b2f792a0a21", "lastUpdatedVersion": "ea dolor incididunt minim", "tags": [ "voluptate commodo", "veniam et minim commodo", "ullamco consequat", "veniam ex laborum ut", "aliqua" ], "canvasVersion": 2, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "d3d295ac2957d03b0564bcee", "cc6460205c5b79143e9b6485", "43e6be6bd0b71a2c395c3d27", "51a929949769e2ed28a1bead", "47176ba01b0716b3607d8f6a" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "c0fca77fcf563d08aca4c774", "eb77cf600dcc6f30d866a0f9", "3e5227c941c567e77980312e", "2b6e7b57280c6509879e7d06" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "minim occaecat magna", "description": "esse eu", "app": "adipisicing occaecat esse pariatur consectetur", "variables": { "error": "" }, "groups": [ "7162e892f60cd1b3c84a3d16", "6767d17867bbc24ba98e8240", "7e20c3bc4e512729ddbd94ab", "3e8705595ccad2617d3c5151", "a92f2e19a003451968e807f4" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "failure" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "bb13379032bbbbabf11d7868", "28e2e8c6ff66c305ffc7d121" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1988-09-14T22:01:06.991Z", "created_by": "dfe1c500bbca945f817d20d8", "last_updated": "1959-10-05T07:20:38.464Z", "last_updated_by": "862c6d75ecba95708344828b", "lastUpdatedVersion": "velit non laborum dolore ipsum", "tags": [ "ad officia mollit Duis culpa" ], "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" } } }