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": [
"2dc2c9c15628285747d5290d"
],
"x": 36960468.226208985,
"y": 97360309.86157477
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"2a1a93a127c706d63f204865",
"ff590d8994f2260a597cced0",
"f2496b1c0295c79e1e5fbc1a"
],
"x": -84627234.00077116,
"y": -63229981.76709067
},
"error_handler": {
"name": "childJob",
"summary": "sed eu",
"description": "esse Duis ipsum non quis",
"app": "nisi minim",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/V/~0/~1/Ofpu1t9s+U"
},
{
"type": "encryption",
"pointer": "/fVdlLD3Tlpb/~1/~0"
}
]
},
"groups": [
"86367f6476b4be32da4d01dc"
],
"x": 56511061.52547455,
"y": -39926474.020788796,
"type": "operation",
"gridCoordinate": {
"x": -17209145.484423652,
"y": 2699551.29800424
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"1fbacfd5609b14bc34d6b6ff",
"e700f40ad4f96325bcf18e10",
"cf4f9215e3d6a269f7a2d574",
"568f837944ba037e017beb81"
],
"_id": "212c62d8-528f-8590-e81e-19e882fb6c72",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1944-10-22T09:52:33.575Z",
"created_by": "fc16aa705802059381023a3b",
"createdVersion": "aliquip dolor consequat proident reprehenderit",
"last_updated": "1982-11-17T17:34:35.867Z",
"last_updated_by": "84ddfc1957dab9343ddfa7a2",
"lastUpdatedVersion": "minim deserunt eiusmod velit",
"tags": [
"cupidatat",
"ut incididunt veniam irure dolore"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/ueXvK64C/~1/ma/Dh2j/QelYBR/N2sK/kaktbi.x3Nn"
}
]
},
"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": [
"0175b1feb4aac2c9c6cd6f2c",
"3a3b0dc00a1c4ab037846836",
"bf5e350e96f92b3d7409213b"
],
"x": -66156451.571094625,
"y": 90397011.81580395
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"696f573c7a656785a3695c50",
"d7c5fb919c0dd4f0243abf6f",
"12a4f8feb84d6bd6a0000ceb"
],
"x": 86175229.88734367,
"y": -62221041.313854374
},
"error_handler": {
"name": "childJob",
"summary": "est labore",
"description": "deserunt eu do",
"app": "in elit dolore minim laborum",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/GxcWn,Zpno/~0/U6LFvACU"
}
]
},
"groups": [
"bedb026b5b9f12dc83b6709d"
],
"x": -17191286.266164556,
"y": 51929967.46220282,
"type": "operation",
"gridCoordinate": {
"x": -12800198.112152204,
"y": -78780849.21772559
},
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"fff30935075cb0c5448cf34d",
"5022efe79a64c152b25280c1",
"99b1d16c16c09124d3274175",
"a06ffb68cdfca2d3c37b5009"
],
"_id": "fcd10c92-4628-3b54-dafb-cba28c1df8bc",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "2013-04-14T20:25:52.902Z",
"created_by": "9ea8a13adb4befa950249358",
"createdVersion": "dolor incididunt in",
"last_updated": "1979-11-04T02:35:22.501Z",
"last_updated_by": "7081d5dc54779eb7967b62e1",
"lastUpdatedVersion": "minim exercitation",
"tags": [
"minim esse ut"
],
"canvasVersion": 2,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/bg/cA6J"
},
{
"type": "encryption",
"pointer": "/aM/~1"
},
{
"type": "encryption",
"pointer": "/~0/xybhf/V9BO7EB4/V1sRyXr/XxP/wnU4Y9BS94/ziLbRs2/~1/X.kjT-QN/~1/yp/"
},
{
"type": "encryption",
"pointer": "/~1"
},
{
"type": "encryption",
"pointer": "/~1/W/~0/HwaBt6JuX/~1/~0/KpzxMFm/gi6mWj/soBGeV"
}
]
}