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": -92697874.5885326,
"y": -5381506.002028808
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 38082700.31923598,
"y": 86186157.83597177
},
"error_handler": {
"name": "childJob",
"summary": "id cillum nisi",
"description": "ut est Excepteur velit do",
"app": "tempor",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/P/~1/~1/J"
},
{
"type": "encryption",
"pointer": "/~1/~1/~1/~0/H/xP9/UrIyl0At"
},
{
"type": "encryption",
"pointer": "/J1mW/BC1xutddeX./~1/V8DIC/yEEf/YZeZK+XoiMQ"
},
{
"type": "encryption",
"pointer": "/~0/~1/~0/w-pdAar0/~1/~0/rAbCsWjn7Pq/v4+X/GVGt1A/bmE3Wr1//~0"
}
]
},
"groups": [
{
"name": "Ut",
"provenance": "Ut sunt nisi"
}
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "sed ullamco",
"provenance": "labore culpa"
},
{
"name": "ullamco ipsum dolor ut est",
"provenance": "non aute consectetur commodo"
}
],
"_id": "a94e2bda-d1c3-5fb0-ee50-9d974f53259d",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1996-07-02T06:15:07.279Z",
"created_by": {
"username": "sed quis nisi magna mollit",
"provenance": "est"
},
"createdVersion": "id quis Ut eiusmod",
"last_updated": "1995-05-26T09:18:53.33Z",
"last_updated_by": {
"username": "in",
"provenance": "Duis magna dolor eiusmod"
},
"lastUpdatedVersion": "officia veniam irure pariatur Excepteur",
"tags": [
{
"_id": "bBFeDbCEE6cF0CEDbf61B26D",
"name": "aute Ut",
"description": "ad"
},
{
"_id": "fb56BdAe7daf1bB0D3DEeEB7",
"name": "do anim veniam dolor sed",
"description": "ullamco nisi sunt Excepteur sit"
},
{
"_id": "F54eBEDf10D9e8B57d14E794",
"name": "dolore dolore in",
"description": "aute Lorem"
}
],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/SDNf0yodsN/~1/~1/~0/~0"
},
{
"type": "encryption",
"pointer": "/~0/JeZPO4Ey+j/~0/Dx0I52dccU+/Tng/~0/yuIRfX/prRCr3/op,mfh2/viZj/~0"
},
{
"type": "encryption",
"pointer": "/tDT+/~1/Y/d/gRW/UW/~0/nD6/ggRK9.8L0tk"
},
{
"type": "encryption",
"pointer": "/fYK/D8/~1/MZiT6Z/~1/~0"
},
{
"type": "encryption",
"pointer": "/CC7xa5C98/~0/~0/mLXQkK9Ik/cvUNkav/dQSr0axv/h3S9/~0"
}
]
}