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": [
"101aaadffcd419c1293fcb5e",
"194e026ce3cbe18713dc0170",
"c033a9c924f3cb06064ae923"
],
"nodeLocation": {
"x": -74873635.39385954,
"y": -73131888.11148077
}
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"068b13c978d68b7f58039918",
"a0964be93e2311b869e8a474",
"a4b72d9f7c21df7c2e2e8d59",
"560d109f649f0188368e11cd",
"b97478561aa07bf4ad5713e5"
],
"nodeLocation": {
"x": -99529788.50342742,
"y": -67113599.51887724
}
},
"error_handler": {
"name": "childJob",
"summary": "exercitation non",
"description": "reprehenderit id sunt",
"app": "labore reprehenderit sint",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/Ih2HNBPlE/~0"
}
]
},
"groups": [
"0eb43fa83b331bc82337b9d6",
"1e2f60c4460d8384c57ce753",
"285fe90a9e8826aa1b47f7b8",
"96e8f7e8167e51e3299c4259"
],
"type": "operation",
"nodeLocation": {
"x": -34211906.102120034,
"y": -94222214.572586
},
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"success",
"error"
],
"autoRetry": true,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"6baa2700ba254726ac15b985",
"e5d141eb839c8efbe3ff4349",
"4cb4213bdbcfbbcbf24506da"
],
"_id": "a67797e7-d6af-3812-ffa9-faca59d6c62e",
"uuid": "9a885c0e-c694-3a79-3f8c-6f47ec9a449f",
"description": null,
"namespace": null,
"preAutomationTime": 5000,
"sla": 47952484,
"errorHandler": null,
"font_size": 12,
"created": "2001-12-02T23:26:38.871Z",
"created_by": "744cb5a9911c79ac84e67154",
"createdVersion": "5.40.5-2021.1.72.0",
"last_updated": "1995-07-29T05:29:07.172Z",
"last_updated_by": "4cb0bb19a3f787eef240f710",
"lastUpdatedVersion": "4.69.69",
"tags": [
"aute sed",
"reprehenderit"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/X3z9m5,/~1/~0/Dcg2/tcBcaau"
},
{
"type": "encryption",
"pointer": "/B+aRuF6/~0/MKjBajtNYqQ/FAwV,b/~0/Fj/uM-D9X/Tz9SPf/w,/ZJgHHLP/i5QY"
},
{
"type": "encryption",
"pointer": "/qh,oLbm/g+1s/hh/~1/H/iy1ix98XuBy/~1/~1/tZlme5t"
}
],
"migrationVersion": 10424551
},
"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": [
"1f85c134b1b4b3ef90e01197",
"10965ac9e7d48995c1135b5a",
"5b76688eabef99b2b897db31"
],
"nodeLocation": {
"x": 92863530.16121957,
"y": -99899051.44943525
}
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"64c085f1d79f5b932df168ac",
"a733d690f77e4cf1b276dc34",
"24890ad5591376fe0fd54d97",
"bb88c0ed41320d1857042687"
],
"nodeLocation": {
"x": -24512598.75887622,
"y": -61518520.257772915
}
},
"error_handler": {
"name": "childJob",
"summary": "sit eu consequat qui",
"description": "dolore dolore nulla culpa",
"app": "consequat sed veniam ut",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/j0YMh"
}
]
},
"groups": [
"825957d31b4b8619364af438",
"6d784e0e8a95c47df6fee4d0",
"72b0ad486e2ed1a48fc0d54b"
],
"type": "operation",
"nodeLocation": {
"x": -2009496.9077142328,
"y": -43753603.51619957
},
"deprecated": true,
"scheduled": false,
"retrySettings": {
"state": [
"failure",
"error",
"failure",
"error",
"failure"
],
"autoRetry": false,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"f22c816a371167a8d1639d32",
"880cad88ec70a86896ed5071",
"5af08e4c53f6d043ea151890"
],
"_id": "1f3805bb-b213-e70e-b3d7-1a47aefed88b",
"uuid": "2710b9eb-eaab-e0d2-9d38-bd07c3be0448",
"description": "cillum amet laboris aliqua",
"namespace": null,
"preAutomationTime": 5000,
"sla": 81402606,
"errorHandler": {
"type": "aliqua sunt dolore",
"name": "id"
},
"font_size": 12,
"created": "2002-05-18T18:40:22.673Z",
"created_by": "9b5c1a14688ca36560072ee8",
"createdVersion": "5.40.5-2021.1.72.0",
"last_updated": "1988-08-26T08:30:04.728Z",
"last_updated_by": "f4595c47714ce070d450332c",
"lastUpdatedVersion": "4.69.69",
"tags": [
"aliqua esse",
"id minim aliqua nisi Ut",
"proident labore mollit in",
"esse nostrud id et",
"eiusmod est qui ut"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/A5W/b.tC/Wi"
},
{
"type": "encryption",
"pointer": "/~1/Jn8zvp9/4/t/KnM1v/FV+kxgoW"
}
],
"migrationVersion": 67297580
}