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": -77372006.54820997,
"y": -84753068.69404787
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -17912217.196842134,
"y": -83890700.84953368
},
"error_handler": {
"name": "childJob",
"summary": "exercitation Excepteur enim",
"description": "fugiat",
"app": "anim Lorem adipisicing velit ad",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/~0/fxFHFe,Vb-/u,XQEm"
},
{
"type": "encryption",
"pointer": "/~1/~1/M0JFJIS/~1/o,chG.QkU/~1"
},
{
"type": "encryption",
"pointer": "/~1/~0/k6/~1/bD.E/~1/~0/~0"
},
{
"type": "encryption",
"pointer": "/~1/DzfgEc-qe9/~0/e/~0/~1"
},
{
"type": "encryption",
"pointer": "/vLGw9eU/~1/VHvP4u/hLQCc/HX3nv,XS/~0/~0/E/~1"
}
]
},
"groups": [
"be1db240fc90f47f471466b9",
"2555e027c2a40d1c9cc1ba52",
"439ec1e9665dfdbe899b041c",
"e35aee002bdeb46520200347"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"487e5c9108e2a4e7ec27522d"
],
"_id": "05e99252-86b6-3ded-5caf-ac033b43d985",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "2009-03-17T21:40:49.614Z",
"created_by": "89f2a368fde8af6c0be3834e",
"createdVersion": "nisi sunt voluptate",
"last_updated": "1958-06-06T12:03:26.06Z",
"last_updated_by": "8dcc7491087f007f880288f5",
"lastUpdatedVersion": "ipsum",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~1/MewIF1/~0/~1/RiWkp"
}
]
},
"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": -94404509.79806986,
"y": -82793690.41276085
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 44237301.718920946,
"y": 41978764.97176978
},
"error_handler": {
"name": "childJob",
"summary": "sunt laboris deserunt exercitation",
"description": "cupidatat amet",
"app": "Lorem est",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/i-/0UnR/~0/~1"
},
{
"type": "encryption",
"pointer": "/ZT.d5/~1/~1/IICjQIv"
},
{
"type": "encryption",
"pointer": "/~0/IlvPg/cDf7y79Uj/vJSflF5F/EfdG1omW/uG4MHZ.V1ja/~0"
},
{
"type": "encryption",
"pointer": "/S/J4ZU/~1/B6KxK5f/f/HLw7/~0/qVgOluqEQ/t9,.YEdKp8"
}
]
},
"groups": [
"921c64a8c821eedbe2f59735"
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"2d0e4fd7d399312bcb640f46",
"e7ce6e052607151203f49ed6"
],
"_id": "daa0a669-0092-da30-2761-b671d1525c19",
"description": null,
"errorHandler": {
"type": "eu nostrud non",
"name": "in pariatur ad ea nulla"
},
"font_size": 12,
"created": "2009-08-09T19:54:15.265Z",
"created_by": "97e1dc3e47c9395a3da6b02a",
"createdVersion": "exercitation consectetur",
"last_updated": "2021-07-28T15:18:17.886Z",
"last_updated_by": "3e9f6ee16afbe6f318e502a4",
"lastUpdatedVersion": "consectetur",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/vG/b/~1/DI/~1/~0/h0gV9m/~0"
},
{
"type": "encryption",
"pointer": "/tu2ZEn7QE/g819AS/~1/tpJCZn/~1/~0/~0/~1/~1/~1"
},
{
"type": "encryption",
"pointer": "/n/~1/~0/Rxl/~0/LU/~1/vkNWPI3jZb8/~0/~1/hUDy0vahsy1"
},
{
"type": "encryption",
"pointer": "/q1.MOOM/~0/~0/~1/~0/rTGBj7KRyK,/etI66tM/gtUi2,HkR/"
},
{
"type": "encryption",
"pointer": "/a,r/cF/m611/h0fS/~0/y0cRxk/JEN9xf.Y/nAZdktC/X0NIY/b3dMUA0Phm"
}
]
}