Summary
Search Workflows
Description
Search Workflows with Options
Route
POST /workflow_engine/workflows/search
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
options |
object |
yes |
expand, fields, query, limit, skip, sort |
Copied to Clipboard
{
"options": {
"expand": [
"owner",
"owner",
"owner"
],
"fields": {
"name": 1
},
"query": {
"name": "abcd"
},
"limit": 50,
"local": false,
"skip": 0,
"sort": {
"name": -1
}
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
workflows |
object |
Search Results |
Copied to Clipboard
{
"results": [
{
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [
"c820b4464793bfec36e69371",
"d0a46427718d71bc71d99ab3"
],
"x": 0.36142061281337046,
"y": 0.502092050209205
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"e758027b61dd7d2e21d1b4c3",
"93c180461dc67914d79b3202",
"e7fd464bb0a649766dd9ce13",
"00a3ecd80edeb142aefc61d1"
],
"x": 0.36142061281337046,
"y": 0.502092050209205
},
"error_handler": {
"name": "childJob",
"summary": "do ullamco minim laboris non",
"description": "ipsum eiusmod in culpa reprehenderit",
"app": "commodo reprehenderit anim",
"variables": {
"error": ""
},
"groups": [
"8929cdae1c239f413a5ccf7a",
"b008b9211acb288ca8d4996a",
"6108a2f41eb0790660c348c7",
"9830e6e5b1d7883893f35e3c",
"961edb12d88dba1eed77ef3b"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"success",
"success",
"failure",
"success",
"success"
],
"autoRetry": true,
"limit": 20,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"ddd953b70833c6eb6e5915b8",
"2b95228c0b556d78e8e4d03f",
"b10620fbabc75f44b3bbe839",
"b2fc29a3984044c32fa5fdb4",
"663e48c709fd18ebb76ac817"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "magna cupidatat nisi",
"preAutomationTime": 250000,
"font_size": 12,
"created": "2010-07-04T02:58:51.252Z",
"created_by": "fec6160de078e0a0cd29f117",
"last_updated": "1962-03-18T09:01:20.491Z",
"last_updated_by": "0402f9773a2c60b60ef5970e",
"lastUpdatedVersion": "proident sed enim Lorem",
"tags": [
"sit irure",
"ullamco est",
"non ut Lorem est eiusmod"
],
"canvasVersion": 2,
"encodingVersion": 1
}
],
"skip": 0,
"limit": 50,
"total": 100
}