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": -6907260.233132377,
"y": 75734442.68972182
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 82731765.90408799,
"y": 88383376.27963427
},
"error_handler": {
"type": "operation",
"name": "childJob"
}
},
"transitions": {},
"groups": [
{
"name": "et Excepteur sunt",
"provenance": "amet eiusmod"
},
{
"name": "non cillum velit",
"provenance": "pariatur esse ad"
},
{
"name": "in consectetur ipsum consequat ut",
"provenance": "elit cillum aute eiusmod mollit"
},
{
"name": "amet",
"provenance": "in labore"
}
],
"_id": "9117d913-4b39-3d1d-a61a-daf3bbb3c5f2",
"description": "deserunt aliquip incididunt",
"errorHandler": {
"type": "dolore incididunt dolor",
"name": "voluptate aliquip"
},
"font_size": 12,
"created": "1977-07-08T04:19:31.13Z",
"created_by": {
"username": "Ut est laboris aliqua pariatur",
"provenance": "culpa minim cillum sint amet"
},
"createdVersion": "eiusmod tempor magna non",
"last_updated": "2015-04-30T13:10:31.81Z",
"last_updated_by": {
"username": "incididunt do magna quis commodo",
"provenance": "Ut"
},
"lastUpdatedVersion": "quis amet eu fugiat esse",
"tags": [
{
"_id": "CdA8f87aCfDA0e75AAD0dEAB",
"name": "aliquip fugiat nisi",
"description": "dolore esse minim"
},
{
"_id": "DCD8fa82776bbdeBcfDBcfDA",
"name": "laborum minim nulla eu",
"description": "ut"
}
],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/veI/~0/k9fXwy/UcNM5h/Z1YUKf7bNbR/~0/N/Kzk5oeOo/Yc9/~0"
},
{
"type": "encryption",
"pointer": "/~1"
},
{
"type": "encryption",
"pointer": "/~1/~1"
}
]
},
"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"
}