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": -18477535.84637855,
"y": -67099257.5271697
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 2206702.714507267,
"y": -57545037.02870499
},
"error_handler": {
"name": "childJob",
"summary": "velit deserunt est proident",
"description": "aliqua do labore tempor officia",
"app": "in proident",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/CVY7Woi/~1/~0/~1/~1/lfmzXgAkn8z/s/~0"
},
{
"type": "encryption",
"pointer": "/~1"
},
{
"type": "encryption",
"pointer": "/e3jc/ofZjhTx/VL/,Gf1NX/~0/VvyVbh/U3th9ik7ms/BRV0I/J/0WH.v"
},
{
"type": "encryption",
"pointer": "/~1/~1/~0/dTDcQVVI./~1/spRA./f6oFwP"
},
{
"type": "encryption",
"pointer": "/~0"
}
]
},
"groups": [
"561078bef919d69a3548d882",
"e8d108daea12fe55e2b0df5d"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"1a17480f2ccc14bb6e95316d",
"e3f86265b044ad18b44a21ce"
],
"_id": "e8f76fca-d948-1b1f-b1b8-2309371badd2",
"description": "officia sint elit",
"errorHandler": {
"type": "laborum sed incididunt irure occaecat",
"name": "culpa adipisicing Excepteur aliquip"
},
"font_size": 12,
"created": "1983-03-12T01:56:28.345Z",
"created_by": "dea30463e01456dcbfcc054d",
"createdVersion": "consequat dolor",
"last_updated": "2019-08-21T14:37:50.765Z",
"last_updated_by": "a96c4ccb0bee763f0acc91e6",
"lastUpdatedVersion": "do proident Excepteur",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/~0/~1"
},
{
"type": "encryption",
"pointer": "/~1/F,4P4P3/~0/~1/~1/~1/abx/~0/I/~1/w72Yet"
}
]
},
"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": -81661137.97663587,
"y": -58797884.49339558
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -57395919.00776762,
"y": 50610309.332674414
},
"error_handler": {
"name": "childJob",
"summary": "nisi magna veniam mollit aliquip",
"description": "consequat dolore fugiat pariatur",
"app": "sed est",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/eOEWShi4E/~0/y/~1/~0/y.6iEGvQNe/yM-1hhm/UBP,VgR-wg"
},
{
"type": "encryption",
"pointer": "/wYVgpxpo/h/aSJ46q2lK84/I-4SGD/ZhK/~1/~0"
}
]
},
"groups": [
"ff61f8dd7068525db62d8fec",
"f7556e83f40bcb34a9251466",
"d57c4ea50b560ac593596ca4",
"c28f1c1a9b02822d3253b25a"
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"d0a4ddf7378b109b663d59f1",
"e29b96e35959f6f0c346ddfb",
"847867aa949c71c8adb08381",
"523dc258384924569289dac7",
"8975f2bab560c28a3080d71e"
],
"_id": "6e1fec7e-bbc8-2a7c-57e8-39d45e40b87d",
"description": "est sit sint ut",
"errorHandler": {
"type": "laborum",
"name": "exercitation"
},
"font_size": 12,
"created": "2000-05-01T19:25:33.647Z",
"created_by": "adfb9d4173349bcecf968604",
"createdVersion": "nostrud Excepteur",
"last_updated": "1948-08-01T12:14:41.591Z",
"last_updated_by": "99c641db4bb4d050ab3b645c",
"lastUpdatedVersion": "ut sint et",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/t6Ep1/U303ucr/~0/~1/~1/p/Qx"
}
]
}