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": -82775663.1238755,
"y": -95379161.07730098
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 33341632.860726774,
"y": -875061.2860436589
},
"error_handler": {
"name": "childJob",
"summary": "non laborum officia ad sed",
"description": "sint nisi",
"app": "consequat",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~1"
}
]
},
"groups": [
"8c5668e5df32c2a96ec021e6"
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"a751c0782c7a79535a31b5a0",
"e49a8ac258d1978cfddeec2d",
"5ca6a4586eeec3ddbfa7974e"
],
"_id": "90781810-a769-8152-4a98-5fbc74a67272",
"description": "cupidatat pariatur proident in ut",
"errorHandler": {
"type": "enim sunt mollit laborum",
"name": "consectetur amet eu aute occaecat"
},
"font_size": 12,
"created": "1946-12-08T23:36:19.571Z",
"created_by": "6ac2d54c4d34ff24657d0b44",
"createdVersion": "mollit dolore pariatur incididunt",
"last_updated": "1946-02-23T15:56:53.473Z",
"last_updated_by": "d7a392f81e55b9fdd91396b4",
"lastUpdatedVersion": "sit veniam incididunt voluptate id",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/NYyzy2/zV0pxWN/~1/le/ms/hwg"
}
]
},
"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": -44167766.972545944,
"y": 61562834.436457396
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 82234587.73096773,
"y": -3672734.918390304
},
"error_handler": {
"name": "childJob",
"summary": "exercitation ipsum Lorem",
"description": "amet",
"app": "nulla cillum",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/N/R3BV1XeEcrM/~1/~0"
},
{
"type": "encryption",
"pointer": "/~0/~1/xcF/f-lFl/~0/t/jpCc0BT/u/~1/Z4fXSd/~0/~1/eiG3o5a.oWx"
}
]
},
"groups": [
"461edeb8d86d401c50388af1",
"041ea3f662ed7b5316096b40"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"fd013473f7573defcb0a013c",
"457ccd965402d554c7b60230",
"57e5bcf981cbc46fcb7003e3",
"8bfd9a488b53716cc601b5b8",
"45f4ea64238d9df9d7b1d6de"
],
"_id": "fbf0e5e2-782d-204a-e6d1-dbf56964a0ce",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "2014-01-02T06:06:24.592Z",
"created_by": "143d624b4630f0d46eccf184",
"createdVersion": "Lorem",
"last_updated": "2018-01-31T12:27:43.707Z",
"last_updated_by": "7d60d1c51e551121b22d216d",
"lastUpdatedVersion": "incididunt eu sit",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/kGQ019Hsw3Q/lANnfaIL/~1/~1"
},
{
"type": "encryption",
"pointer": "/xc3ZzOHrR5"
}
]
}