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": -318037.24930518866,
"y": 31779152.571747586
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 66365804.706995845,
"y": 68135714.45857462
},
"error_handler": {
"name": "childJob",
"summary": "aliqua nostrud",
"description": "tempor amet velit",
"app": "aliquip",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/~1/K/lQ0LwbygR5E/~1/~1/~0/~1/~0"
},
{
"type": "encryption",
"pointer": "/n/GiABm1K/he39EfNpINv/~1"
},
{
"type": "encryption",
"pointer": "/~1/~0"
},
{
"type": "encryption",
"pointer": "/VU5/~1/~1/imUCo//~1/sn4Ov/il/aH+s6/o-Q2/~1"
},
{
"type": "encryption",
"pointer": "/~1/~1/CR5A2YTr"
}
]
},
"groups": [
"5a845ae6cde6cbc5f8a02a39",
"7f0c71b16eff0aa0ca957415",
"898639115eb59fdfbc80e665"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"e4d3f1435f64ebf223ce3b4f",
"b4c4dd958dce720f58c58ce7"
],
"_id": "1c68e272-fa1b-963c-6399-4654c4bc4a11",
"description": null,
"errorHandler": {
"type": "est velit exercitation",
"name": "nostrud sunt anim"
},
"font_size": 12,
"created": "2003-01-11T02:56:56.26Z",
"created_by": "6d3bc842ac49d8654b186723",
"createdVersion": "aliqua incididunt in",
"last_updated": "1961-06-03T16:14:27.509Z",
"last_updated_by": "3017752bfe87a441f998550b",
"lastUpdatedVersion": "sunt sint occaecat",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/HjJjWX+no2y/own/k7ef/OYQBa6T/~1/nmYvM-9O5Is/E1,gOZzU/~0/GYubU"
},
{
"type": "encryption",
"pointer": "/~1/~1/~0/yd5c/TMoL0/n/~0"
},
{
"type": "encryption",
"pointer": "/uFeg8QGeD/~0/~1/~1/vaZb2"
},
{
"type": "encryption",
"pointer": "/~0/K.os7tZV/Wz41hDB,/s/xhd/~0/~0/PE.OtQWpi/zT/~0/kKt+D4RmL3/~1"
},
{
"type": "encryption",
"pointer": "/OkZ/hpF/TCGjKT-rbjk/~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": 86071156.57296193,
"y": -59768424.97896677
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -53947702.904465,
"y": -28581352.299314618
},
"error_handler": {
"name": "childJob",
"summary": "veniam elit tempor officia in",
"description": "enim laborum labore",
"app": "nisi occaecat incididunt",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0"
},
{
"type": "encryption",
"pointer": "/~0"
},
{
"type": "encryption",
"pointer": "/MVH/hI10C0b1,/~0/~1/uy+/DZr3tA/pznd/~1/~0/~0"
},
{
"type": "encryption",
"pointer": "/~0/~1/~0/~0"
}
]
},
"groups": [
"214eb154f7fb1ed53ceb0135",
"dd6cec8d419d3e0be2d65be5",
"1dfbc518a313850696a39206"
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"aa3b3cb954fbccd6f5eab750",
"c59a467be72a414c23144dc0",
"84af5e099b58ac1a26aa604e"
],
"_id": "84897bf1-6787-817b-86c6-becd18586227",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1965-12-30T18:24:24.24Z",
"created_by": "f835dd0d7628a5730cb3287f",
"createdVersion": "in nostrud amet",
"last_updated": "2017-06-21T08:27:50.985Z",
"last_updated_by": "e9b39054c5f019c64d583419",
"lastUpdatedVersion": "commodo labore",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/~0/~1"
},
{
"type": "encryption",
"pointer": "/~0/~0/~0/ve0Mh/~1/~0/~1/auerRq/yZ/Sp"
},
{
"type": "encryption",
"pointer": "/PzspQYl01m/~0/QKU.B15kAG/~0/~0/~0"
}
]
}