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": 13583487.072379038,
"y": 74230009.8810876
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -70549674.32635428,
"y": -65632420.74632365
},
"error_handler": {
"name": "childJob",
"summary": "labore nisi elit cillum",
"description": "reprehenderit aliqua Lorem aliquip",
"app": "eu exercitation pariatur",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/cW+P/TRTOC/~1/I,RupaBWc5/ULsShFTknLP/NH"
},
{
"type": "encryption",
"pointer": "/Y/WZOZ3/~1"
},
{
"type": "encryption",
"pointer": "/~1/HR/~0/~0/aojyBp/~1/~1/x/vMz/~1"
},
{
"type": "encryption",
"pointer": "/g-/zxEVi"
}
]
},
"groups": [
"06f7626c9c2a6e2de4856b7b",
"1a4827b59f966ae423d803e6",
"131c951b663cef069527696a",
"669df65e5a414739701e1a9f"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"9fb6d1c4d408755b41d5676d",
"1c788384b057fbe526527441",
"f8f2d5719c151f188644e21f",
"f1a2a383cf19404ccb755b66"
],
"_id": "37405d7b-eb1f-b7fb-e70e-5c8bfef00b5b",
"description": "proident reprehenderit sit mollit",
"errorHandler": {
"type": "enim sint eiusmod dolor",
"name": "aliqua"
},
"font_size": 12,
"created": "1987-11-04T17:44:05.269Z",
"created_by": "9a37d2cb3d6f6f0a897a02a2",
"createdVersion": "voluptate labore laboris eiusmod quis",
"last_updated": "1977-03-18T19:56:13.478Z",
"last_updated_by": "b491735a66b9f584f9f1e228",
"lastUpdatedVersion": "in in cupidatat consequat",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/YyE7K/m0c6/yW4NC0/m2iMjlTpm9m/~0/~1/rQ1F8eJo/~0/~1"
},
{
"type": "encryption",
"pointer": "/~0/~0/s"
},
{
"type": "encryption",
"pointer": "/~1/r-/CvH/Yc9ZPlBhwy/~1/e/uyF-/w5krLZ+R/yTP/M9v6BvK/z0-8RNKM/o,+rcgi9+"
}
]
},
"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": -51404665.49996252,
"y": 17473584.653347313
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -49852189.07994473,
"y": -11978971.625698611
},
"error_handler": {
"name": "childJob",
"summary": "in",
"description": "ea",
"app": "consectetur voluptate et",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/I/ktts5IUn1Oy/~1/f+Q/aAfX/acs/~0/RhnjN/LE/qmbfCZR7iUw/yuLViy"
},
{
"type": "encryption",
"pointer": "/~1/ZuvGTEaROQ7/BMJJIz/ssn/~1/yQej3/~1/ljvdWaj,/~1/bDTofm0oCD/~1"
},
{
"type": "encryption",
"pointer": "/MjzoL+wG/WpRKb/~1/YBth/n7nluue/~1/dTfNV/~1/~0/~0"
},
{
"type": "encryption",
"pointer": "/~1/~1/EmB5h,x/4/espFG4Lo/F3.t/~0/~1/o-8hKVpue/~0/~0/~0"
}
]
},
"groups": [
"18b7cb2cca12b34d55cbe390"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"0324003ff02790aea4e0a805"
],
"_id": "2f50f531-414a-1a12-5283-3b4ee1ecdd5f",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1981-05-25T11:36:27.326Z",
"created_by": "53b0b37e8a788f5c7676ea85",
"createdVersion": "in aliquip fugiat irure exercitation",
"last_updated": "1988-10-09T19:49:10.431Z",
"last_updated_by": "0b985b5952ce98d261fbd5b5",
"lastUpdatedVersion": "voluptate irure sint labore esse",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/GZ2IKyB4/~0/rB/EEx3/Qu1/Ku/~0"
}
]
}