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": 68040598.49923423,
"y": 72089855.82474482
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -81026161.60796247,
"y": 16747974.27224642
},
"error_handler": {
"name": "childJob",
"summary": "proident incididunt commodo",
"description": "aliqua commodo",
"app": "do tempor deserunt",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/KUUGzd/TZuq/LN/~0/A2oaOa/kPVmbb/~0/~0"
},
{
"type": "encryption",
"pointer": "/~0/~0/~1/uOZnp2NKr1/QvCzHSTPIz/~0/Y7mYn/~0"
}
]
},
"groups": [
"739aad8b2d9f873262ed79c0",
"1a426a339d39846501d03892",
"e4f655012b3ce3d2b81ff6b7",
"734a9fba19348deb10947d17"
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"a2dfd3ecc487062b23a8466b",
"33d8fc63be1d08f8f6a74e3b",
"fefacdb3303956cade692ae3",
"bd33dcd21309db213b8cb7f2",
"1d30b1077844370884c000d7"
],
"_id": "b61a4a21-02e0-758c-ad8f-d9902fc574d9",
"description": "consequat do",
"errorHandler": {
"type": "culpa in ut",
"name": "cillum voluptate nisi"
},
"font_size": 12,
"created": "1975-07-16T07:37:40.25Z",
"created_by": "51be901b5b9ada7eabc8a338",
"createdVersion": "ut veniam aliquip ut",
"last_updated": "1975-02-18T09:26:16.737Z",
"last_updated_by": "12735aafd64e7afa3b315826",
"lastUpdatedVersion": "laboris consequat adipisicing",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/KEKFyKlbgp/KXeXUaMVw/~1/~0/q4I8owok+r/~1/hHuG+z4rQ/B95NZgP9MP/W9mg9owCX"
},
{
"type": "encryption",
"pointer": "/AbztwZTQ2/HBiV/UMvgc8Q/t4Sp+HiGAgS/~1/ShqAHL/yonwNUJ/LSpNvQ39/~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": 30027847.27041346,
"y": 53641226.70642325
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -51690359.853142984,
"y": -93055600.38562013
},
"error_handler": {
"name": "childJob",
"summary": "sint sed deserunt",
"description": "Excepteur",
"app": "ut laborum",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/bSAMfp/~1/zne+P/XDQ6"
},
{
"type": "encryption",
"pointer": "/rdyz/810"
},
{
"type": "encryption",
"pointer": "/PdfJ2hG-W/~1/T+Dl4zB11k/sOS4WlZ/p7vMC-/~1/Rk7/~0/D/pXy4HQ/~0"
},
{
"type": "encryption",
"pointer": "/~0/F-3.G/MU/n/R/~1/~0/n0MS/~0/FQ/~0"
},
{
"type": "encryption",
"pointer": "/~0/~1/~1/~0/Ktkf3biD--/~0"
}
]
},
"groups": [
"d2c0934f4741adb4e1e38cb8"
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"07f6f5d62f006288e3262065",
"83753644b376747a199b3dd2",
"6b4925a6ae9ce1e3a03fdc7c",
"19aac405e1ee8f6aae507d69",
"19b5faab8fd71c36f5751429"
],
"_id": "c9b0e181-9131-0660-a3c8-ad1b5b5a9cea",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "2010-04-21T22:24:46.228Z",
"created_by": "ecf1cb40b7dee73d86161cf9",
"createdVersion": "dolore ut",
"last_updated": "1995-06-14T19:47:58.598Z",
"last_updated_by": "b3b32dc77457284cbdf7affc",
"lastUpdatedVersion": "laboris elit amet magna",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/HaCaBQTKY,D/J,fi5QxO.fu/U75lehwm8Nk/LBSW/Wo/~1/~0/F3l"
},
{
"type": "encryption",
"pointer": "/HsU/~1/~0"
},
{
"type": "encryption",
"pointer": "/iqSs/~0/~0/PMuLn/nAXE/GHMz./z.Yk/M7y9BN-9b0y/~0/TXxLR+K+ox/d/XD6o/~0"
},
{
"type": "encryption",
"pointer": "/xZ2Z/~0/Ci9J+eP/d5/~1/~1/~1/Z/x7o.KV-s/~0/~0/~1"
},
{
"type": "encryption",
"pointer": "/~0"
}
]
}