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": 92433320.71566105,
"y": 38459169.0536865
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 19535104.33914216,
"y": 57377585.84146905
},
"error_handler": {
"name": "childJob",
"summary": "est dolore magna in",
"description": "veniam ea dolore minim do",
"app": "proident consectetur id",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/o+vfKR0Lvf8/~0"
},
{
"type": "encryption",
"pointer": "/o/~0/~1/WbJ1.s.7mqv/~0/n0qsl/~0"
},
{
"type": "encryption",
"pointer": "/~0/YM/jkZ+/~0/~0/~0"
}
]
},
"groups": [
{
"name": "velit occaecat dolor",
"provenance": "Excepteur aute"
},
{
"name": "commodo anim Ut non dolore",
"provenance": "in in quis"
},
{
"name": "sunt incididunt esse",
"provenance": "id"
}
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
{
"name": "dolor elit",
"provenance": "magna sit nisi"
},
{
"name": "dolor ex deserunt esse reprehenderit",
"provenance": "fugiat cupidatat aliqua sit"
},
{
"name": "qui in eu dolor mollit",
"provenance": "cupidatat do"
}
],
"_id": "e2e543dc-58d2-bce9-2184-8f9db84e2f98",
"description": "veniam voluptate velit ad",
"errorHandler": null,
"font_size": 12,
"created": "2020-03-19T09:08:20.32Z",
"created_by": {
"username": "ipsum aliqua",
"provenance": "aliquip ullamco sed"
},
"createdVersion": "do irure ipsum deserunt",
"last_updated": "1969-02-27T08:00:44.046Z",
"last_updated_by": {
"username": "aliqua qui mollit",
"provenance": "eiusmod labore"
},
"lastUpdatedVersion": "reprehenderit officia",
"tags": [
{
"_id": "7a2334Ee6DAfE6bEe8d11cCC",
"name": "velit in",
"description": "voluptate nisi do"
}
],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/~1"
},
{
"type": "encryption",
"pointer": "/fHb/~0/LK4p-7VC6/yFiK/FspcIWSZI5n"
},
{
"type": "encryption",
"pointer": "/idvs0C-Imr/T4IQBboP/D6E/89"
}
],
"migrationVersion": 59179480
},
"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"
}