Summary
Rename Workflow
Description
Rename a Workflow in the database
Route
POST /workflow_builder/workflows/rename
Roles
admin
engineering
support
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
workflow |
object |
yes |
Workflow's data. |
newName |
string |
yes |
New name for workflow |
Copied to Clipboard
{
"workflow": {
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": -52463088.653475374,
"y": -48976411.74953988
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 8970089.742762834,
"y": 77229045.13155681
},
"error_handler": {
"name": "childJob",
"summary": "minim fugiat",
"description": "adipisicing fugiat in in",
"app": "dolore irure do",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/RS5fyYx/~1/Bn3asR8Vr/KrM1nh8Lqb"
},
{
"type": "encryption",
"pointer": "/~1/~1/~1/x"
},
{
"type": "encryption",
"pointer": "/~0/LiHw-/GxzF/~0/~0/~0/~1"
}
]
},
"groups": [
"371d72b786027af5ee9f4737",
"dabd84f0c477032794d915be",
"dab3ca2a519bd9d20b62fd44",
"e8137cfb7f79cefdd32dda6c"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"e3c400283d8a279031b1ccb7",
"86612839a5ae062dc691c291",
"80b359cc12cdeb5fbeef7e58"
],
"_id": "bc8b6920-5ee5-fa36-73ea-020a500c5325",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1954-08-02T11:53:29.059Z",
"created_by": "575bb39e4931d12b92eb707a",
"createdVersion": "in",
"last_updated": "1959-03-27T09:42:31.927Z",
"last_updated_by": "9d5bf137b025e6f4d7bcc3a5",
"lastUpdatedVersion": "pariatur proident irure cupidatat ea",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/Xx3l/E,tyUuF8Z7e/~0/YWoCo/-w9Eu/Ty-"
},
{
"type": "encryption",
"pointer": "/~0"
},
{
"type": "encryption",
"pointer": "/~0/~1/s4/~1/w/pMEA/~1"
},
{
"type": "encryption",
"pointer": "/~1"
}
]
},
"newName": "New Workflow Name"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
data |
object |
The renamed Workflow with its data and ID. |
Copied to Clipboard
{
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": -48585080.746353574,
"y": 97946748.21248668
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -73377491.73513122,
"y": 46456412.35040951
},
"error_handler": {
"name": "childJob",
"summary": "officia ullamco dolor dolore",
"description": "nostrud",
"app": "cillum",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/PaxTDkAB/YM/bW3/9pQ0rG./~1/JG+n/qI/~1"
},
{
"type": "encryption",
"pointer": "/uJFZt1"
},
{
"type": "encryption",
"pointer": "/Es,/f4/~1/~1/~1/Dz5Pw+SUA.s/E"
},
{
"type": "encryption",
"pointer": "/~1/wXE+3t/~0/~1"
},
{
"type": "encryption",
"pointer": "/XnI/b+L19"
}
]
},
"groups": [
"eb2a00d2f9442e914d75e553",
"0848f9a5f7a40894c17ce1e3",
"d219d620ffe8992bad93c38d",
"c74c9044027a53e7bfafaec3"
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"8ef0b257effac7a27c7aa773",
"5ca117f9aa512f6d71303ef4",
"9121e0bf4ef53fd4ecc86180",
"738178e7023a84e0e5874773",
"adaaf1aed63576d0ef0827e5"
],
"_id": "cd665df6-e8c6-57fa-59e0-2b66a9ddc565",
"description": "ad incididunt anim laborum ipsum",
"errorHandler": null,
"font_size": 12,
"created": "1987-04-06T02:51:00.662Z",
"created_by": "198525f66ec12b148ebcd7e1",
"createdVersion": "occaecat Ut",
"last_updated": "2005-03-05T23:28:14.881Z",
"last_updated_by": "5be16e3e61a7cd2a573f349c",
"lastUpdatedVersion": "nisi ipsum officia in",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/IeZMhmwC/Yps5LFVlpn/~0/~0/lWNS"
}
]
}