Summary
Export Workflow
Description
Export a single Workflow
Route
POST /workflow_builder/export
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
options |
object |
yes |
match a workflow using _id or name or type |
Copied to Clipboard
{
"options": {
"_id": "4321abcdef694aa79dae47ad",
"name": "someWorkflowName",
"type": "automation"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"options": {
"type": "object",
"properties": {
"_id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"title": "MongoDB ObjectId",
"description": "Id of Workflow document",
"examples": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c"
]
},
"name": {
"type": "string",
"description": "The name of the workflow",
"examples": [
"someWorkflowName"
]
},
"type": {
"type": "string",
"description": "The type of the workflow",
"examples": [
"automation"
]
}
},
"additionalProperties": false
}
},
"required": [
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
workflow |
object |
Exported Workflow |
Copied to Clipboard
{
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": 98392895.8172836,
"y": -81369498.16324499
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -95225534.42338455,
"y": 81478216.61031473
},
"error_handler": {
"type": "operation",
"name": "childJob"
}
},
"transitions": {},
"groups": [
{
"name": "mollit do",
"provenance": "tempor non nisi"
},
{
"name": "dolor Duis nisi dolor labore",
"provenance": "aliquip"
},
{
"name": "enim magna laborum dolore in",
"provenance": "aute"
}
],
"_id": "cd6f00a2-5483-9ada-ad39-f8cc1629f6e2",
"description": "Duis ad velit non",
"errorHandler": {
"type": "proident in",
"name": "in nostrud et ut eiusmod"
},
"font_size": 12,
"created": "1965-06-20T11:42:19.962Z",
"created_by": {
"username": "eiusmod ex esse ut",
"provenance": "aliquip proident"
},
"createdVersion": "ut",
"last_updated": "2020-11-22T01:22:59.232Z",
"last_updated_by": null,
"lastUpdatedVersion": "labore laboris",
"tags": [
{
"_id": "B069c4daD5fB8B988BDA69dC",
"name": "ex exercitation adipisicing ullamco",
"description": "proident velit consequat magna ad"
},
{
"_id": "d5a44aaBa7cf26b68972EBD8",
"name": "Lorem ex",
"description": "non velit"
},
{
"_id": "5472Fd81f4C931dA4c5c8ECF",
"name": "minim consectetur incididunt Lorem ut",
"description": "Lorem proident incididunt dolor"
},
{
"_id": "92F13f8Eab27f1f0eC2eaDFA",
"name": "aliqua fugiat",
"description": "minim tempor voluptate"
},
{
"_id": "109dBec46cB6Bdb4458FBea4",
"name": "exercitation Duis ad tempor dolor",
"description": "Lorem"
}
],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/qc28EC7B/~0/~1"
},
{
"type": "encryption",
"pointer": "/~0/~1/OX0C7HMO"
},
{
"type": "encryption",
"pointer": "/~0/~1/H"
},
{
"type": "encryption",
"pointer": "/~1/e3U/~1/~0/~1/~1/~1/d5+H/~0/blhbPdKYA/~1"
},
{
"type": "encryption",
"pointer": "/~1/~0/yjy/~1/~1/~0/~1/~0/~1/~0/c"
}
]
}