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": 44673522.7460942,
"y": 15393418.514652029
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -29691182.26622905,
"y": 72111311.89478138
},
"error_handler": {
"type": "operation",
"name": "childJob"
}
},
"transitions": {},
"groups": [
"d4056b27fb100422b83b485b",
"92da557d268b2766c8761b44",
"22640913abc4879fdd0cc201"
],
"_id": "2b1afe99-0139-9c80-85c0-faee1339783c",
"description": null,
"errorHandler": {
"type": "eiusmod reprehenderit in occaecat",
"name": "officia cupidatat"
},
"font_size": 12,
"created": "1945-12-26T13:45:58.715Z",
"created_by": "37d5f0398dcbf77ffceced8e",
"createdVersion": "consequat ex qui",
"last_updated": "2007-01-08T10:06:45.714Z",
"last_updated_by": "28ae3c847d18eb905f09eebf",
"lastUpdatedVersion": "quis tempor reprehenderit",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/Z7+D2nRaQY"
},
{
"type": "encryption",
"pointer": "/~1/ZNQYqzLTxtU/Ri"
},
{
"type": "encryption",
"pointer": "/~0/~1/kMK7/TSJ/~1"
},
{
"type": "encryption",
"pointer": "/ZFv4YvvKvW/aL,N/~1"
}
]
},
"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": 23508426.193297803,
"y": 64925257.79604307
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 56720595.84311792,
"y": 95121524.1708523
},
"error_handler": {
"type": "operation",
"name": "childJob"
}
},
"transitions": {},
"groups": [
"fe190c25ef7f4f1539e920c0",
"dce5f0004daa907f9d57b990",
"e9ed1c94085477b9bf6dc682"
],
"_id": "7867b6b2-0ef8-b729-b434-d97bd1f05fee",
"description": "commodo officia mollit occaecat dolor",
"errorHandler": null,
"font_size": 12,
"created": "1997-01-08T07:53:53.981Z",
"created_by": "6ee907b71bfd8b76663f9621",
"createdVersion": "ullamco",
"last_updated": "2018-12-22T13:11:24.084Z",
"last_updated_by": "948d2bed11aefe2e71b07002",
"lastUpdatedVersion": "enim",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/Kl-Kgg/~0/eh-LvBo78/R5qC5eYVs/~1/~1/~1/~1/s3qf"
},
{
"type": "encryption",
"pointer": "/~0/NI/X/Oy9riQpR/~1/~0/f/Ui"
}
]
}