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": -80581695.74735592,
"y": -6492965.511307418
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 30623593.606394023,
"y": 38832382.55707669
},
"error_handler": {
"name": "childJob",
"summary": "Ut anim dolore Lorem",
"description": "ex non deserunt laborum",
"app": "est irure cupidatat minim sit",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/dAKii7/b3sME9,u7/~0/n/aTyNG/~0/~0/Ms-3iW,Z/Z"
},
{
"type": "encryption",
"pointer": "/~1/~1/l0kLaLrBsmy"
},
{
"type": "encryption",
"pointer": "/jjVz/~0/l3Iji3+V-D"
},
{
"type": "encryption",
"pointer": "/b//~0/m3iY/L90L0G2QW/tVqb/~0/QoRe6CLT/~0/oaPN3Rz/MkwCrd"
}
]
},
"groups": [
"e126d21e2cc440bba0abc799",
"eeb1abca167f60aee1c9c943"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"13ef5f89a20cee95a1015901",
"de9196ea1c26c38131c74486",
"9bd7b64186ffe4ccdefd96e8",
"d1948fe228c88934ffe44da8"
],
"_id": "1ba0c5ec-300a-99c6-a1ef-9fdedfeb8c72",
"description": "Excepteur",
"errorHandler": null,
"font_size": 12,
"created": "1954-05-06T16:04:24.393Z",
"created_by": "bd7d5827de645b4770e68bf8",
"createdVersion": "anim non adipisicing dolor",
"last_updated": "1994-03-05T18:10:58.153Z",
"last_updated_by": "a1b19300696b562c09120924",
"lastUpdatedVersion": "elit esse ut",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/aP/~1/~1/~0/uLcsAP/Rl5/yD/5FEK/j/pq/vAh/AeYVHWbqi98"
},
{
"type": "encryption",
"pointer": "/~1/ep/-0z/~0/~1/aL2ssH/~1/~0/~0/A3XVYN/~0/~0"
}
]
},
"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": 17122117.942855388,
"y": -76903968.62443043
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -34864305.2099098,
"y": -85606423.9354859
},
"error_handler": {
"name": "childJob",
"summary": "aliquip esse laboris ullamco fugiat",
"description": "culpa anim sit consequat aute",
"app": "sint non aliqua Lorem",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0/INl/2iMjk/~1/~1/~1/~1/~1/~1"
},
{
"type": "encryption",
"pointer": "/ZhcOM-/V/c/~0/~1/~0/~0/wmo15AkE-H"
},
{
"type": "encryption",
"pointer": "/~1/nq0g5xYV/W7f2YE/~0/~1/~0/iAx9V/juhpCUojd/~1/MbpLJ5b"
},
{
"type": "encryption",
"pointer": "/sdyIQ/~0/~1/~0"
}
]
},
"groups": [
"9afc091fb0432be89eceb6d1"
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"7f1419c97c2db3c775f83c8b"
],
"_id": "6739bcb0-df3c-72d5-ad05-7ca69bba1395",
"description": null,
"errorHandler": {
"type": "cillum do adipisicing est fugiat",
"name": "pariatur non velit id eu"
},
"font_size": 12,
"created": "1958-05-27T23:20:46.184Z",
"created_by": "87baef88f94b6b93c1e704ff",
"createdVersion": "Ut aliqua eiusmod",
"last_updated": "2014-04-22T21:33:18.933Z",
"last_updated_by": "03ac0f81c67144a05b499bf7",
"lastUpdatedVersion": "aute nostrud sed deserunt eu",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/ok4dc-/~1/rW.E"
},
{
"type": "encryption",
"pointer": "/CE46KJqpNKn/~0/vo/LX/~0/~0/C5NJRruR+/lFUFRp/~0/~0/~0"
},
{
"type": "encryption",
"pointer": "/XXv5zwX/~0/Z/kAefiz/MSiJXQnJ/~0/~0/~1"
},
{
"type": "encryption",
"pointer": "/~0/~1/~0/h/1iYt5/M3/~0/ro8IlABdyh/~1/~0/~1/EKrQ"
},
{
"type": "encryption",
"pointer": "/~0/He5/SeWVE/~0/iiNPPzWKV.1/E.e2QH"
}
]
}