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": -62181699.57067583,
"y": 13881933.333006606
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -44855505.47703343,
"y": 53879720.832895786
},
"error_handler": {
"name": "childJob",
"summary": "nisi id Duis velit",
"description": "veniam",
"app": "consequat consectetur veniam",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/kvY/icXLTk+C12/~0/~1/~1/c.nqOYc+Dgi"
},
{
"type": "encryption",
"pointer": "/M/9N5EEjM/stRcQNA7/PY,CNP,R+/~1/zW+bP/T4qn/~0"
}
]
},
"groups": [
"198f0d49070c9fddc993ec6c",
"4a4fa6c2b0cdd82f40e634c7"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"8f72038ef35a597a984f2b31",
"ac4b93b50ea2b718f8095e1a"
],
"_id": "38e7cadc-9308-9496-31e0-88bfed31cd8d",
"description": null,
"errorHandler": {
"type": "aute non",
"name": "incididunt dolor reprehenderit do"
},
"font_size": 12,
"created": "2011-09-12T05:15:21.439Z",
"created_by": "6cb7a5a08329cc5e2d59ad2b",
"createdVersion": "dolor ut commodo",
"last_updated": "2009-11-28T07:27:09.052Z",
"last_updated_by": "d9c31dabea8d1df9c0849781",
"lastUpdatedVersion": "aute fugiat adipisicing",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/pw,xbnQ/rpGswr6ar1c/~0/uEv/~1/a/w5x.l4/~1"
},
{
"type": "encryption",
"pointer": "/~0/Fg.Zg2F9v/EocBVRp/WKs/~1/XhTQRY8"
},
{
"type": "encryption",
"pointer": "/~0/~1/~1/~0/wJ/~1"
},
{
"type": "encryption",
"pointer": "/e/S535G4q/~1/~0/~0/ERzWosY/ia"
},
{
"type": "encryption",
"pointer": "/nWeXrw.R/UV6FU/~0/oEnWy/~1/fOOXig7Dj/d/BYF2wAVb/Vle81G4Tk75/f3hb"
}
]
},
"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": 25574180.619695053,
"y": -42372279.27249845
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -31101407.670677707,
"y": 22197008.498873323
},
"error_handler": {
"name": "childJob",
"summary": "consectetur in ea proident incididunt",
"description": "consequat",
"app": "velit",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/orM02/~0/KeKARUp,w/NLVTsYccMn/~0/~1"
},
{
"type": "encryption",
"pointer": "/U9fs.G49/IEmlU4q/~0/X/IkO59dLz."
}
]
},
"groups": [
"25b7434eaa7d2f091d4026bc",
"ed32e44fdedb90652b37c42f",
"d8fd339c982a395ddffca9d1",
"7c63845e491105d24e5b6b2f"
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"ac723763380da178fc670215",
"5217da28582ed786d751a344"
],
"_id": "7bb13f69-6089-8918-5b5c-0639ec36021a",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1951-07-13T11:40:35.845Z",
"created_by": "22eb1015bed7494f6b707835",
"createdVersion": "incididunt cupidatat irure",
"last_updated": "1961-07-21T12:55:13.95Z",
"last_updated_by": "18223fe7cf6561b027f0f77f",
"lastUpdatedVersion": "adipisicing voluptate cupidatat",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/ouQZ51fn"
},
{
"type": "encryption",
"pointer": "/T0/~1/e2ZyRlIA-/~0/gKk/fHj2koAU/qU3-/13q1-/~0/xB8qnj5-xJC"
},
{
"type": "encryption",
"pointer": "/~1/X,C61Q3"
},
{
"type": "encryption",
"pointer": "/~0/~1/egsNMU/p,OE/~1/~0/~0/~1/~1/~0/~1"
}
]
}