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": [
"a013e24dd61299e50b9e64b6"
],
"nodeLocation": {
"x": -15408073.885710746,
"y": 94675674.00705126
}
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"5263e2b8d8bd3503d9e12bcc"
],
"nodeLocation": {
"x": -74219459.87685779,
"y": 17659400.54355997
}
},
"error_handler": {
"name": "childJob",
"summary": "Excepteur eiusmod",
"description": "ipsum in nisi id consectetur",
"app": "labore minim ex dolore",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0/~0/Kgxs/R/TBh/~1/O1l/mq9WPn"
}
]
},
"groups": [
"812007acb6c20de2a06019b0",
"7a40e030ed2e824ac2bc6449",
"ab0bfb16cb948b37478a166f",
"ff0b6cbf319f8ff50a2532cb"
],
"type": "operation",
"nodeLocation": {
"x": -55520850.20755744,
"y": -44869080.291762665
},
"deprecated": true,
"scheduled": true,
"retrySettings": null
}
},
"transitions": {},
"groups": [
"60f7bb7f85349254d0cd6426",
"3bedb9f612998526a1340756",
"f97cb9395b028ad84111fcf2",
"b9339c1e7fb2c7be7b26b3c9"
],
"_id": "c4f35c71-fdc5-c629-3145-dba8336f8838",
"uuid": "c280d5d8-354f-8a80-ffc5-96d755682591",
"description": "qui sed laborum anim incididunt",
"namespace": null,
"preAutomationTime": 5000,
"sla": 94679801,
"errorHandler": {
"type": "aliquip deserunt ex",
"name": "et ullamco sed qui aliqua"
},
"font_size": 12,
"created": "2008-12-11T21:38:32.014Z",
"created_by": "f4276d3ca1f534a811ff6f7a",
"createdVersion": "5.40.5-2021.1.72.0",
"last_updated": "2022-07-24T22:57:52.027Z",
"last_updated_by": "47ad0dbbbea68fbaea0299c0",
"lastUpdatedVersion": "4.69.69",
"tags": [
"Ut commodo aute consectetur",
"consectetur dolore eu exercitation magna",
"consectetur dolor eiusmod magna pariatur",
"id nulla Ut"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/Jn5ktn9/inf./lCdj-GMnx/~1/~0/~0/~0/KT"
}
],
"migrationVersion": 84616701
},
"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": [
"24faac1a00b11751e8a298c1",
"52d74f8c5843bdc3b40c8942",
"ff9b484fddcfe903851e2565"
],
"nodeLocation": {
"x": 70490931.33633906,
"y": -64695578.8944795
}
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"2808507f2fcdebd1b0f03ca5",
"7cb91c6565187765571c1214",
"fd45a3130c975ec460262cd0",
"61c36ee08d89e68ee7a0574b"
],
"nodeLocation": {
"x": 22961356.91731766,
"y": 52978666.38524455
}
},
"error_handler": {
"name": "childJob",
"summary": "aute amet",
"description": "quis veniam mollit",
"app": "consectetur",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/UNn7roFlv8/~0/ra./xYDF9n"
},
{
"type": "encryption",
"pointer": "/gDj+q/~1/~1/~1"
},
{
"type": "encryption",
"pointer": "/~1/QkLos22et1/K24uVnX/~1/a/p6cE/srU,IVwMsA/fKfedcY/~1"
},
{
"type": "encryption",
"pointer": "/~1/~1"
}
]
},
"groups": [
"5576a8c90f8e6c1f207643cd",
"58e609e42b9fe6a0ba08c6b6"
],
"type": "operation",
"nodeLocation": {
"x": -93447358.38869615,
"y": -68679302.53658256
},
"deprecated": true,
"scheduled": false,
"retrySettings": {
"state": [
"success",
"error"
],
"autoRetry": true,
"limit": 20,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"3b69208994f7428c13fe458a",
"38596046a0d902ebde55b74b",
"3ac6048995b6ccbcc7f05374",
"8dddc727c1fc5234b05a41c0"
],
"_id": "1e013a36-6393-1d0d-baad-4bf4ab29a054",
"uuid": "fd07a528-afb9-d94c-e0c1-5d419189a2b3",
"description": null,
"namespace": null,
"preAutomationTime": 250000,
"sla": -88613800,
"errorHandler": {
"type": "Lorem anim",
"name": "officia velit"
},
"font_size": 12,
"created": "1947-03-13T09:52:30.423Z",
"created_by": "a05e26bcf500ea5a8871b263",
"createdVersion": "5.40.5-2021.1.72.0",
"last_updated": "1981-11-16T06:42:07.063Z",
"last_updated_by": "768bee39dba32ea922b1c663",
"lastUpdatedVersion": "4.69.69",
"tags": [
"ad velit",
"sed non",
"anim"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/lyFX9T/Mek/~0/~0/~1/~1"
},
{
"type": "encryption",
"pointer": "/sHT/~1/~0/wE/~0"
}
],
"migrationVersion": 66336040
}