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": "5cb7b531d06cceb89fd21b1c",
"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": -698211.8606440425,
"y": -83082690.00166932
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -58328050.77295742,
"y": -98886798.66319574
},
"error_handler": {
"name": "childJob",
"summary": "in pariatur tempor Lorem id",
"description": "aliqua sunt tempor Excepteur",
"app": "officia nisi quis cupidatat magna",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/~0/wf.nr"
}
]
},
"groups": [
{
"name": "voluptate sint amet cillum",
"provenance": "magna labore incididunt tempor"
}
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "elit aliquip labore",
"provenance": "ad consectetur"
},
{
"name": "occaecat",
"provenance": "Lorem sit"
},
{
"name": "ullamco cillum dolor",
"provenance": "culpa deserunt est qui"
}
],
"_id": "18a3135b-4d96-3964-703e-dbf5578a92fa",
"description": null,
"errorHandler": {
"type": "elit aute",
"name": "magna in"
},
"font_size": 12,
"created": "2015-01-22T15:45:58.108Z",
"created_by": null,
"createdVersion": "ad laboris",
"last_updated": "1989-05-07T23:37:14.63Z",
"last_updated_by": {
"username": "eiusmod",
"provenance": "dolore quis"
},
"lastUpdatedVersion": "Duis commodo in cillum",
"tags": [
{
"_id": "05a940dFaB293a451c9AE4EB",
"name": "id",
"description": "esse occaecat irure in"
},
{
"_id": "efc6223Cc672ff3A292dB197",
"name": "occaecat",
"description": "nostrud dolor Lorem ut"
},
{
"_id": "b0A307126eE11360ACE7fFdb",
"name": "adipisicing",
"description": "ipsum sunt ullamco Ut"
},
{
"_id": "2d523EDde2daf2fdb664e19C",
"name": "Lorem in",
"description": "laboris dolor exercitation magna Excepteur"
}
],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/AxukU4BZJ.r/~1/sdXuX7js0/kyZD/mvQjV49Oz1n/~1/AsaPwF/~0"
},
{
"type": "encryption",
"pointer": "/y0dh/gsO9Mkyq,s/~0/~1/vkMrK+fXV/7/KOfdwG0sK/CC0/~1/PAn+4EZBjZS/~0"
},
{
"type": "encryption",
"pointer": "/KfVqVoV/xYChwuSwHDE/Fzrml8TBH.Y"
},
{
"type": "encryption",
"pointer": "/p-U/~0/M/~0/tWu,t/~1/BTV"
},
{
"type": "encryption",
"pointer": "/V"
}
]
}