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": [
"5dfc17f0d882162336c5ee43"
],
"x": -99066485.3882043,
"y": 55080937.44571495
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"78eed3735b301063557de22e",
"01007f0fe3c5810863304e44",
"5c0caaeb6596386222c5e30e",
"f7f092bf0b2ee03681c2d089",
"0c8272936ace933d0c35deb2"
],
"x": -99015031.31373182,
"y": 78171963.36767292
},
"error_handler": {
"name": "childJob",
"summary": "aute id pariatur elit consequat",
"description": "voluptate ut reprehenderit aliqua",
"app": "in",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/LMazF/eTPk/~0/~0/gOY7/QC6-,s+cf/~1/k6FQ-nKn"
},
{
"type": "encryption",
"pointer": "/bMWFRL+,"
}
]
},
"groups": [
"ed41aa351f1c4f19c5c55f8e"
],
"x": -82312835.16270511,
"y": 11932241.196826428,
"type": "operation",
"gridCoordinate": {
"x": 56693285.01287016,
"y": -28382374.654863745
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"7f1101def806fc2fa881c780",
"9711a9b0abb295c8f615b89b",
"29649c0d87c20d085374f9cb"
],
"_id": "622d9296-ab7c-a8a8-ceca-59c01eb875be",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "2023-12-30T02:08:16.279Z",
"created_by": "12723a67bb6bc7232b0d8d86",
"createdVersion": "qui occaecat",
"last_updated": "2016-10-01T21:56:54.278Z",
"last_updated_by": "6b009ad99bf71ead6d187090",
"lastUpdatedVersion": "elit enim",
"tags": [
"elit aute"
],
"canvasVersion": 1,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/uQYvh/vt./~0/RZ7yK/bQo/Y7BuGr.rUF/~0/PdL9/gAIcKF/~0"
},
{
"type": "encryption",
"pointer": "/~1/~1/dYpkrgLKkoK/Q.qx/~0/MtK3aZwoT"
}
]
},
"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": [
"385105d11dfc242d07835dce",
"6be079c4010e98c4885fc802",
"ce8dd83db1f63cc66d3d55be"
],
"x": 6729861.55815582,
"y": -94712105.22752522
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"317c60f32d51ee00e11de207",
"89a28b14c539d3fd1de5cf64",
"1c038259dd775eeb5e20f2d8"
],
"x": -5895443.643718585,
"y": -6100975.268032372
},
"error_handler": {
"name": "childJob",
"summary": "Ut",
"description": "in sed dolore in",
"app": "exercitation culpa consectetur magna commodo",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/Y/~0/adTbXY"
},
{
"type": "encryption",
"pointer": "/~0/y+PlX3/~0/F4aCC/cQ/CRuCNvmW/~1/Sa/~0/~1"
},
{
"type": "encryption",
"pointer": "/TrD/iBu9/v8y/~1/j/sS/~0/h/ea,a9z/jPNt/~1"
}
]
},
"groups": [
"8d22a46ab2f67adeb1ed50cd"
],
"x": -94329975.42224087,
"y": -93314341.38096654,
"type": "operation",
"gridCoordinate": {
"x": -39259920.629453585,
"y": -89014404.04047452
},
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"05a2c3c7b245d2c2039dd0e0"
],
"_id": "37ac839b-3d8b-7203-a957-7985b924b636",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1971-08-15T15:39:27.892Z",
"created_by": "b63c0e4161229c942b584250",
"createdVersion": "dolor pariatur ut",
"last_updated": "1984-01-23T00:41:00.575Z",
"last_updated_by": "c76995a7b7dfadc59490e52a",
"lastUpdatedVersion": "Duis proident aliquip tempor commodo",
"tags": [
"dolor cillum",
"fugiat sit reprehenderit incididunt minim",
"quis elit aliquip fugiat"
],
"canvasVersion": 2,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/~1/k/~1/SP5oXaIt/~1/~0"
}
]
}