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" ], "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": [ "78fd3af03eae4536841129ac", "4994a858d54340582bc4a758" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "0fe4054bf5a2088a4dd22dce", "bae7cd8f5155c8a948e0cd4b", "cc717dfdeb0cf124ee24c96d", "bacdb8b062190ad97c31a719" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "ea", "description": "sunt aliqua ut", "app": "deserunt sunt nisi ipsum in", "variables": { "error": "" }, "groups": [ "070d1a49d6812d6085ea6c72", "5f0d8aade1702511d77c4958", "73c733b60fb3f6faa22ca4b7" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "failure", "error" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "4a25cdd5d768b9b66d1e5eef", "10b922384a36707cb864b1a0", "42c7928dda247866fc4c665d" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "nostrud", "preAutomationTime": 250000, "font_size": 12, "created": "1946-07-08T04:50:03.972Z", "created_by": "938110436fca4552f5e888e5", "last_updated": "1974-12-20T14:26:14.666Z", "last_updated_by": "526861cdfabb4298a1ab478a", "lastUpdatedVersion": "est aliquip ut Duis sunt", "tags": [ "dolor magna", "occaecat reprehenderit", "ad occaecat", "laborum nisi", "commodo" ], "canvasVersion": 2, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "2d7d2732bceb5a2bed047dd2", "f543224559e7400050183eaf" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "5faaeae3355044ff97533d02", "9ca81d98bb2765969857dfa7", "4a02ecec128b3887039b5b1d" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "pariatur", "description": "velit sit laborum labore", "app": "occaecat nulla minim incididunt esse", "variables": { "error": "" }, "groups": [ "09165f3e8bfa47555167981a", "7c11fcd619fa112a92f23fd0", "a56f8eeb21423f3e88b33369" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "success" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "ca23f1a91f1350658dbdcc5a", "fc7ad3fcf1e054b0a10c99fe", "aa674e6ab9e29885c310cc7f" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "2009-11-29T02:07:02.72Z", "created_by": "171a3fa8257bca2f7a636254", "last_updated": "1947-10-04T06:43:18.626Z", "last_updated_by": "f70309df67fc8c58a2bf3ec4", "lastUpdatedVersion": "ea minim pariatur deserunt", "tags": [ "aute adipisicing velit", "minim sit consequat", "velit laborum commodo minim", "in in Duis" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "134eb58b2b2c0e3b9fb8d04a" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "cbafb607e67fe3f913fb45ae", "75fbf881135bb345b888febf", "3c62a940a8b46d64b778e920" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "irure et", "description": "nulla pariatur fugiat", "app": "sed", "variables": { "error": "" }, "groups": [ "0167d3b96e16db3b38cbf3a9" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "success", "failure", "error" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "86779a87013c9287b350b637", "1346ad1fa392d4b50924016d" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "cillum dolor occaecat do", "preAutomationTime": 250000, "font_size": 12, "created": "1999-03-24T22:54:56.009Z", "created_by": "7543790688b6c1a9a69e4ab1", "last_updated": "1984-05-07T06:05:06.799Z", "last_updated_by": "503580d51d31fe339437e550", "lastUpdatedVersion": "aliquip", "tags": [ "aliquip velit", "nulla", "irure", "eu veniam", "enim exercitation ipsum veniam" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "64af4d9c257a33afc1a9fd6f" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "129f76197a5fc73a99c21a09", "2430f2559f7674692b23d195", "762992c2cd8496339b4d8f8d", "b0ca4f471394e700c2113d6e" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "eiusmod dolore commodo reprehenderit", "description": "aliqua laboris", "app": "amet", "variables": { "error": "" }, "groups": [ "dda80a68c96d50743802ce5e", "ca4152f535f2df0d6abf691f" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "failure" ], "autoRetry": false, "limit": 20, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "7b7fb0a2028f043764e21ab7", "a9df59f7fa43e7f545847be7" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1963-06-25T07:14:31.169Z", "created_by": "633bc4b5ad2ceedc0c06ceb5", "last_updated": "1967-11-01T08:51:04.297Z", "last_updated_by": "1e70667042335a536d7adf4e", "lastUpdatedVersion": "sit", "tags": [ "quis Lorem", "tempor elit velit Excepteur" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "3f4e90399d8a92d60ccc9273", "7cbded3a0b5a105250e4f63d", "78fb83c6bb2286823b4512d4", "25da920c68500f1260042ad5", "e0a6a040f0a5b48606bf4307" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "09d3c9d00c941d8ec424f83c", "9a2a793eb341fba1359b6ca2", "d1f721d5bb65abac421e10ce" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "id nostrud", "description": "aute", "app": "est id officia", "variables": { "error": "" }, "groups": [ "36b82edbd7896d4fd1d5425a", "ddbfb3cd1cc2106bed634880", "04f5fb02f877ae3138beec33", "4afda2a65fc8148089c83c4f", "18ad98d357baa6c0a5a88948" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "failure", "error", "failure", "success" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "23afeb08a379dda557fde303", "f581f07166bf877b46f9d9a9" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1994-11-26T10:13:28.253Z", "created_by": "741f2fe78ec9e8928306f90a", "last_updated": "1963-02-22T16:00:41.756Z", "last_updated_by": "ebfa4617dcce94752ff76ebc", "lastUpdatedVersion": "ad officia aliquip", "tags": [ "non", "nulla" ], "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" } } }