Summary
Import Workflow
Description
Import a single Workflow
Route
POST /workflow_builder/import
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
workflow |
object |
yes |
A workflow payload object |
options |
object |
yes |
Import options: adapterMap (optional) |
Copied to Clipboard
{
"workflow": {
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": -79594389.32537086,
"y": -93924237.66918875
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 78429424.95186111,
"y": 48986183.862403244
},
"error_handler": {
"name": "childJob",
"summary": "exercitation",
"description": "reprehenderit et",
"app": "nostrud",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/qxuah/GmD/rxFos3sJ/~1/mZ3eUA2c/z67RkGG/fr0QtWHRsoe/P6nFNDL/~0/~0"
},
{
"type": "encryption",
"pointer": "/uik0N+UX/~1/~0/Ut8/Uv/~1/Wps/v2IMyGfcj/BpS/~1/bzvjJNEwCT1"
}
]
},
"groups": [
{
"name": "amet in",
"provenance": "ad laboris quis occaecat dolore"
}
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "Duis irure reprehenderit aliqua in",
"provenance": "in esse non"
}
],
"_id": "ccc9026b-3d62-7f66-5374-f6f8fa785215",
"description": null,
"errorHandler": {
"type": "do qui sunt",
"name": "do Ut voluptate dolor magna"
},
"font_size": 12,
"created": "1975-01-20T18:52:01.407Z",
"created_by": null,
"createdVersion": "exercitation",
"last_updated": "2020-01-22T10:55:11.363Z",
"last_updated_by": null,
"lastUpdatedVersion": "in elit commodo dolore reprehenderit",
"tags": [
{
"_id": "bfb0d3DBc1158468A9AedB6C",
"name": "consectetur Ut voluptate sit fugiat",
"description": "in"
}
],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~1/UuQbRL/~1/A/RoS.Xtix/~1/~1"
},
{
"type": "encryption",
"pointer": "/~0/~1/~0/pk/~1/NwhyGe7sG/~0"
},
{
"type": "encryption",
"pointer": "/RL/ij--/~1/~0/tkyLWsQe1/~1/bjiQl0HP/~1"
},
{
"type": "encryption",
"pointer": "/Oh/93/~0/yy4Pw"
}
],
"migrationVersion": 73183298
},
"options": {}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"workflow": {
"$ref": "workflowPayload"
},
"options": {
"type": "object",
"properties": {
"adapterMap": {
"type": "object"
}
}
}
},
"required": [
"workflow",
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
Import status Object |
Copied to Clipboard
{
"type": "object",
"title": "result"
}