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",
"owner",
"created_by",
"user",
"user"
],
"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": [
"518e69bf231d00ad703f6351",
"25006da070c803017fbe1c36",
"cbe2009b7b5ef3c456971e9e",
"87cd3f4bb1cf8b4f9dd538ce",
"955e9b974855ba6b3c22162e"
],
"x": 0.36142061281337046,
"y": 0.502092050209205
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"32a146ade646810f6a550915",
"0593b692952e671800d24dbf",
"d9a6eb6ef4b81f9216d0989e",
"b7d61199320bead6d6298bc6"
],
"x": 0.36142061281337046,
"y": 0.502092050209205
},
"error_handler": {
"name": "childJob",
"summary": "nulla culpa sint",
"description": "enim velit nulla deserunt",
"app": "Lorem",
"variables": {
"error": ""
},
"groups": [
"0ff9bbe79b68eeb2873e771d"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"failure"
],
"autoRetry": false,
"limit": 20,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"f918d0c1d918ee19cbd8dd33",
"ce44ed57af923cacb7dbd42e",
"d8a73f1b18469a08e123e90c",
"3a5e8e3ca96039c5f8e22671"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "officia",
"preAutomationTime": 250000,
"font_size": 12,
"created": "1994-09-10T10:13:26.286Z",
"created_by": "0b4b18679d47b9be9bd2e4b2",
"last_updated": "2010-07-04T14:12:38.895Z",
"last_updated_by": "b35ee823f8d0f2748b040454",
"lastUpdatedVersion": "ipsum ut est tempor enim",
"tags": [
"eiusmod",
"fugiat nulla qui id Ut",
"eu dolore reprehenderit ad",
"nisi magna"
],
"canvasVersion": 1,
"encodingVersion": 1
}
],
"skip": 0,
"limit": 50,
"total": 100
}