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": -37311477.28647288,
"y": -76334662.84834248
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 94162042.03260773,
"y": -46207591.08314179
},
"error_handler": {
"name": "childJob",
"summary": "sit proident",
"description": "veniam",
"app": "Excepteur exercitation",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~1/~0/F7a-pkR8SQ/~1/k0Jja/r/XXVQf3Cfu18/neSx8/3"
},
{
"type": "encryption",
"pointer": "/t.PR/UPc/~0/~0/~1/~0/dXeV0/~0/sA"
}
]
},
"groups": [
"341b42cdad5fff384fb26b69"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"bf27fd89f89941a23fe96975",
"0516da6af6e4d1f1e342e85b",
"4a58d17a5e3643260152e5dd",
"227b5c3bf17ca26002f96fe8",
"4687151a65cbba65fa73a022"
],
"_id": "2c95249d-c558-5812-e4a7-b7568e39b69a",
"description": null,
"errorHandler": {
"type": "sint",
"name": "magna"
},
"font_size": 12,
"created": "1965-07-04T14:44:09.707Z",
"created_by": "7a799a8c6ca39f13b728cd69",
"createdVersion": "esse",
"last_updated": "2005-03-24T19:40:53.133Z",
"last_updated_by": "67b54fb99a05b10fa520902c",
"lastUpdatedVersion": "aliqua Duis veniam exercitation",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/r.g/V5n/Qo9lC9/cWaizjy/~0/UwZ/~1/~1/~0"
},
{
"type": "encryption",
"pointer": "/DdYN0q"
},
{
"type": "encryption",
"pointer": "/Uiv7/~1/Aqf/NF6UbE/~1/NwzB/~0"
},
{
"type": "encryption",
"pointer": "/~0/~0/NTEBA+DA"
}
]
},
"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": 98665660.24657959,
"y": -46395318.04864645
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 97505659.38847023,
"y": 88585504.86095753
},
"error_handler": {
"name": "childJob",
"summary": "non Duis ullamco",
"description": "minim occaecat aute",
"app": "fugiat dolor",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0/RoAoZ/BrUj6/n77aPzfzH5/~0/~1"
},
{
"type": "encryption",
"pointer": "/vw7b-gv6S+"
}
]
},
"groups": [
"4ac06712380d4bebd7bf4186"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"db8d4c36d56a157593deba06"
],
"_id": "92809f5b-e737-b20c-8579-00616535134b",
"description": "velit dolore aliquip",
"errorHandler": {
"type": "sint amet magna labore",
"name": "id consectetur eiusmod"
},
"font_size": 12,
"created": "1998-05-25T09:44:39.359Z",
"created_by": "2e5ce3dc85c8ec8f84a78093",
"createdVersion": "reprehenderit tempor eiusmod",
"last_updated": "1996-12-02T06:32:09.625Z",
"last_updated_by": "fe281ed415a63aebf2492b09",
"lastUpdatedVersion": "cupidatat elit et magna irure",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/H1PCsbTweL/~0/~0"
},
{
"type": "encryption",
"pointer": "/~0/r3tnmg41F-/vztxVBaEBv/~0/~1/~0"
},
{
"type": "encryption",
"pointer": "/yrFsQ/bor2-/~1/~0/Ja7Zg1/c/U+vF0F/~0/~0"
},
{
"type": "encryption",
"pointer": "/U7kdAiJ6v9/SxfNr/~0/N4DD8pvP3Ts/~0/IqQNrXiXLQP"
}
]
}