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", "owner", "user" ], "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": [], "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": "laboris amet in aute", "description": "ut Excepteur est laboris", "app": "velit in nulla Ut amet", "variables": { "error": "" }, "groups": [ "583805dcb29414379fb0466e", "3d2b0dc03acec5b813d9d91a", "dbc4e20fe682cc1e1269f9b3" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "success", "error", "success", "failure", "success" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "3405c6314b47ed5a097e2bc0", "0e0c1a33eb782fc68e0c3f6e", "85ab5c6627a802f1d0669ad5" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "2024-04-14T06:28:01.118Z", "created_by": "194d5671eeb8d4fde1eda01e", "last_updated": "1987-09-07T16:26:43.335Z", "last_updated_by": "8231b0186e0b8b4f9d749dee", "lastUpdatedVersion": "sed aliqua elit id", "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 Excepteur ex est nostrud", "description": "Lorem Duis Excepteur voluptate deserunt", "app": "nisi Excepteur tempor veniam sunt", "variables": { "error": "" }, "groups": [ "2a36fc84923a2a393a9c3d8d", "9f7023c6ae73734863e3262f", "ce58938597a39b7f0470b0b6" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "failure" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "078c79c74c84d1c833eeb44b", "105597848e2b4a739c29c90f", "ec6a912c672697bff4046d87", "8b08f3b1b5722f94be52afe7", "d95315a20e206691143038db" ], "_id": "4321abcdef694aa79dae47ad", "description": "aliqua exercitation veniam sit", "preAutomationTime": 5000, "font_size": 12, "created": "1996-03-23T19:15:34.8Z", "created_by": "25086d501db535812fb3ab28", "last_updated": "2012-06-19T11:12:43.354Z", "last_updated_by": "eceb74cc5d9d056b188f3889", "lastUpdatedVersion": "esse do ex", "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": "sint consequat Excepteur elit sit", "description": "labore in in", "app": "aliqua laboris eu magna", "variables": { "error": "" }, "groups": [ "8b4ad2784513a6021d66a9fc", "07f547c394288fa8b16b86ec", "291e0b156b6e9327195e60b7", "a443e54df81d2b9c81add190" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "error", "failure", "success" ], "autoRetry": true, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "23947c0d94d904fa0279b65b", "20a5df59d56dedfe23be5d4e", "8d2a139916bf60cb6ca14fa3", "839c760e5d8823f0364aea20" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1996-09-08T02:04:43.838Z", "created_by": "c77f6c42553f1a90fc9aed87", "last_updated": "2016-07-15T11:53:01.573Z", "last_updated_by": "564b0192663a77bb611e4f58", "lastUpdatedVersion": "sint", "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": "sint incididunt voluptate elit", "description": "ipsum magna aliqua", "app": "quis", "variables": { "error": "" }, "groups": [ "b76612de890bf440c6a01309", "cc89b575c586e73c68fa3ab9", "abb98bd213a39748f34a0c58", "281810109b0fca701b49aa93" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "success", "success", "failure", "error" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "5f177e5e12243d7929c1fd59", "35ba864f68fd5b6228eb8749", "a70fcf50c796140ca0cf77e4", "5961912bb7773954f94587ee", "0bf6f8e02342f99d3dbf81fd" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "2004-08-06T20:28:01.274Z", "created_by": "d4cc4f482acb04ff099c07c4", "last_updated": "2010-04-07T14:12:08.137Z", "last_updated_by": "6b6a0b120f357f18980dbd92", "lastUpdatedVersion": "Lorem do ut", "tags": [], "canvasVersion": 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" } } }