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": 47866681.11203328,
"y": -61879813.63017841
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 54117578.776754946,
"y": -76409238.92937712
},
"error_handler": {
"name": "childJob",
"summary": "ipsum Duis cupidatat",
"description": "eu non amet aute",
"app": "Excepteur veniam anim",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/B0ybSIi/~0"
},
{
"type": "encryption",
"pointer": "/~0/US+8h8yAI7/PO45f64/~1/M/y-C/oCze/~0/V,/hnj4j+tm"
},
{
"type": "encryption",
"pointer": "/~1"
},
{
"type": "encryption",
"pointer": "/~1/~0/jWGOPq6/Kd7zgFT4tL/PKDau/~1/~0"
},
{
"type": "encryption",
"pointer": "/~0/~1/GmCY2yK3//~1/~0/~0/r1E9Xlj/hWG/~0/~0"
}
]
},
"groups": [
"faf4a5e0fd28ef42169c9c8f",
"66219a8b0dd2fd6bfd4a70da",
"ae103ae965e9d8ed8519fe18",
"5d6dba6eed6222b2df0d811c"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"8f0bf917390bd911d55ef3f4",
"37ec2b4006cedbf20d7cd04a"
],
"_id": "e31efe32-c373-430a-8ee7-7398db9c49ac",
"description": "Excepteur eiusmod fugiat aute",
"errorHandler": null,
"font_size": 12,
"created": "1975-02-06T20:09:10.469Z",
"created_by": "09f6a512a4bf31cc47b86962",
"createdVersion": "dolore fugiat est voluptate ea",
"last_updated": "1969-01-15T17:39:55.177Z",
"last_updated_by": "332395b306340a0d83cecbdd",
"lastUpdatedVersion": "laborum consectetur do",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/eGxXzJ/acm.74/~1/KVbs.RdTO/Fr5IO/JEe+/WJN/~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": -50687425.45524074,
"y": 70020929.0961287
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 64365104.98949334,
"y": -51534072.15160013
},
"error_handler": {
"name": "childJob",
"summary": "sed dolore fugiat incididunt veniam",
"description": "Excepteur Duis cillum",
"app": "non elit enim ex",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1"
},
{
"type": "encryption",
"pointer": "/QB7SJfMzlus/~1/~1/X,DSYKnZm/~0/~0/~1"
},
{
"type": "encryption",
"pointer": "/Uor64rfAJLg/bkfGZF2Qk/~1/Jr"
}
]
},
"groups": [
"c4473122620db069a73d67e9",
"6087ba650e35d8b11ba7bd59"
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"edb3f5caccb4342456123086",
"4a3d247534a13c6fe53fa1c4",
"7eb09cb6346445dbe4a461d5",
"de0e3d5ab9ec200422197216"
],
"_id": "ae59eeda-f001-34f9-eeee-c6b6e7135770",
"description": "dolor ut eu cupidatat ea",
"errorHandler": null,
"font_size": 12,
"created": "2012-08-09T10:46:15.614Z",
"created_by": "adae920db0910a80eb93a10a",
"createdVersion": "ullamco fugiat sed ea",
"last_updated": "1949-04-15T17:47:49.421Z",
"last_updated_by": "a35d78509b6f5f8e2d65b7a3",
"lastUpdatedVersion": "Excepteur nostrud",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~1/GG/PbXCnAn/DT/xOJN/ng8Tmj9/~1/xC/fRezy/~0"
},
{
"type": "encryption",
"pointer": "/S/~0/~1"
}
]
}