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": [
"user",
"created_by"
],
"fields": {
"name": 1
},
"query": {
"name": "abcd"
},
"limit": 50,
"local": true,
"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": [
"2d5283dda29828620585d512",
"772728526835600b0d14c1f8",
"8084cba9f2264e6c5e857441",
"02d3261ea4fc2979d1a388e2",
"c3bfe03b86747fda9340d9e1"
],
"x": 0.36142061281337046,
"y": 0.502092050209205
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"202d05b7ba1e41f82d9b4bfe",
"7011a06cb415f15d4a202f0c"
],
"x": 0.36142061281337046,
"y": 0.502092050209205
},
"error_handler": {
"name": "childJob",
"summary": "Lorem eiusmod",
"description": "Excepteur consectetur voluptate pariatur",
"app": "eu esse dolor eiusmod amet",
"variables": {
"error": ""
},
"groups": [
"e1a2dce0c1d6e32516b1c6bc"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"success",
"error",
"failure",
"success",
"error"
],
"autoRetry": false,
"limit": 20,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"3f2a9b4e9c98ad5f4085c65b",
"7d62e671e6db70d4678fe6c5",
"09f51c3dc0ad2a6273f5b7e1"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "exercitation ullamco do",
"preAutomationTime": 250000,
"font_size": 12,
"created": "1982-04-17T08:53:48.374Z",
"created_by": "8f6fc143f3527752198971bd",
"last_updated": "1986-08-20T12:35:45.672Z",
"last_updated_by": "54ec24b52b5c18f4d9dc0c64",
"lastUpdatedVersion": "esse est dolore in",
"tags": [
"fugiat in",
"esse",
"veniam eu"
],
"canvasVersion": 2,
"encodingVersion": 1
}
],
"skip": 0,
"limit": 50,
"total": 100
}