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": -26494612.10871297,
"y": -85978920.46084116
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 26790540.112801865,
"y": -99151920.33265585
},
"error_handler": {
"name": "childJob",
"summary": "nulla officia magna proident",
"description": "irure dolore",
"app": "do incididunt labore nostrud reprehenderit",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0"
},
{
"type": "encryption",
"pointer": "/~0/FkesfCLic6/Ikq7a/~1/drWc+fGkm/~1/~1/~0/~1/~1"
},
{
"type": "encryption",
"pointer": "/~0/ybt/~1/~0/OTiDohH"
},
{
"type": "encryption",
"pointer": "/g.nKSN3lFp/~0/~0/y"
}
]
},
"groups": [
"5e76fb97d1735939c4e3f0b2",
"be2bee507d4b716fc152a39a",
"7ab955076de4816f3a93ae07"
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"054d8ddb17053eee5bf41c41",
"b69f0b7b7fe37749c93891dd",
"f377a4f694987333bad4263f",
"7b2ff850ffc66acbe2b04cfb",
"c46e1fc74b5b58d0b5c8b1b2"
],
"_id": "9098911f-dfd6-a6fa-9634-de8726ad0c54",
"description": "in mollit sit",
"errorHandler": {
"type": "in laboris",
"name": "quis cillum Lorem dolore"
},
"font_size": 12,
"created": "1989-11-01T08:05:31.559Z",
"created_by": "a37ace7759263c8b0af61cd7",
"createdVersion": "laborum",
"last_updated": "1994-07-14T00:40:19.015Z",
"last_updated_by": "2948acad2d6978f4856216ec",
"lastUpdatedVersion": "eiusmod voluptate",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/tXLu8UVe5a/~0/Yc17,ISI/~0/s008fU.tbbS/WrcCUX0ErE/d"
},
{
"type": "encryption",
"pointer": "/~0/lQ+Vka/pybKj/IpoW4b/sLrVxNYAa/S0Y/~0/K0"
},
{
"type": "encryption",
"pointer": "/~0/~1/jpvc6nxAk/y"
},
{
"type": "encryption",
"pointer": "/~1/Mtu,/r6+Gj/~1/qoc"
},
{
"type": "encryption",
"pointer": "/bA0xVnq4uh/~0/~0/sOLVMgm.RRs"
}
]
},
"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": 78161675.62265342,
"y": 64452586.647554934
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -80254913.00070465,
"y": -19232114.96983716
},
"error_handler": {
"name": "childJob",
"summary": "dolore amet laborum nisi",
"description": "adipisicing minim ex sunt",
"app": "occaecat nulla est nostrud",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/mtcQxbQsO/E/sUCS/bkU7uk/~1/RcX/~1"
}
]
},
"groups": [
"40d74ef6694e0b6199cb173e",
"14dfb6721612eddd58b20f39",
"3d570177679589286b0863ec"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"228ce647d09bae48de88de2a",
"005e305158001c6e8566e4d7",
"b27fde754f9edba09d1f745d",
"c72f5f4cab507b27dee9d5ec"
],
"_id": "d66dc8d9-a5d6-e27c-c637-639977eb256b",
"description": null,
"errorHandler": {
"type": "voluptate ut est",
"name": "consequat reprehenderit"
},
"font_size": 12,
"created": "2009-06-09T09:20:48.977Z",
"created_by": "444e00a394eb7b81a3505d1f",
"createdVersion": "ullamco ut incididunt in dolor",
"last_updated": "1950-06-13T11:40:30.963Z",
"last_updated_by": "90b1d0e6a3c212958b1e87c5",
"lastUpdatedVersion": "non",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/MhiHC/nEcDhLnmab/~1/~1/~1/~0"
},
{
"type": "encryption",
"pointer": "/qX/Se.VFSM/~0/~0/~1/E1R.7OdtuH/NAaI5/iTL"
},
{
"type": "encryption",
"pointer": "/~0/~1/~0/Yq+4Zm6Vgi/T9kxcIo6/~0/nfaj2P4/jmLa3SE"
}
]
}