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": [
"d7f2a88173ca1c76241a856b",
"09d287b44f6158b2b5d112b3",
"b6ceaa9772db4fcd479ee576"
],
"nodeLocation": {
"x": 32801951.887135506,
"y": -85782446.84319133
}
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"2a2d3b82ae7a1f78a0cc72f8"
],
"nodeLocation": {
"x": -94844971.91678712,
"y": 17226863.405661553
}
},
"error_handler": {
"name": "childJob",
"summary": "proident cillum",
"description": "deserunt Duis irure",
"app": "est sunt",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/bGd/Sa9S,+ZuH/~0/~1/exrAp"
},
{
"type": "encryption",
"pointer": "/~1/~0/~0/lLx3kMxNXRc/c/HkQO/~0/~0/A/I3m/~1"
}
]
},
"groups": [
"4d2e29eaaaa00f518715c8a3",
"286caba67cc30dc1f3b48e87",
"37162a8320526af5ef0224dc",
"ef0398ac20d68c1d80638fd5",
"ccc41d51d9b959c75e7992a5"
],
"type": "operation",
"nodeLocation": {
"x": -98638683.21807025,
"y": -79677105.98701814
},
"deprecated": false,
"scheduled": false,
"retrySettings": null
}
},
"transitions": {},
"groups": [
"271ef1cb8c56ecbb82f9d3d8",
"2171d64cf18d4422546052e3",
"e6fc0da2b3985b82133e897d",
"28eea0a6f41d58fb58ac6515"
],
"_id": "2cac5929-7a18-7b2b-89d7-136deb9ea693",
"uuid": "2338afef-1934-9090-90df-f48fff67c82e",
"description": "in proident",
"namespace": null,
"preAutomationTime": 250000,
"sla": -92280842,
"errorHandler": null,
"font_size": 12,
"created": "2020-09-02T00:17:52.923Z",
"created_by": "dd6000fb30a8322c6d07cfe9",
"createdVersion": "5.40.5-2021.1.72.0",
"last_updated": "2013-09-25T09:48:20.809Z",
"last_updated_by": "0437a176f6bc4d599dc1c9a1",
"lastUpdatedVersion": "4.69.69",
"tags": [
"commodo",
"aute voluptate sunt labore",
"Lorem",
"incididunt occaecat ipsum",
"in incididunt deserunt"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/Tb2VoUcGfO/~0/p6E/IlCOaiP3cX7/GTkG2qg/qlM/~0/iX,GC/POh.Lk4"
}
],
"migrationVersion": 80778075
},
"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": [
"e2872036760daaf511527297",
"dee2d89f60c65c5f9c783299"
],
"nodeLocation": {
"x": -46996344.70492802,
"y": 5025413.230917677
}
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"4d0ac0316e0ed29bd811af5c",
"fbec6aa3dd973431f7161a75",
"f539aa311dc8a6d36d178e9b"
],
"nodeLocation": {
"x": -95958063.66395405,
"y": 72765222.07959157
}
},
"error_handler": {
"name": "childJob",
"summary": "fugiat",
"description": "do",
"app": "dolor ad laboris velit pariatur",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0/YF2u/~1/~0"
},
{
"type": "encryption",
"pointer": "/~1/l,/DA/~0/p/yZ3CXop+V,"
},
{
"type": "encryption",
"pointer": "/~1/~0/G,/EB1MMK6c/~0/~1/p.7.1UxWsD/R7WwG/~1/~1/~1"
}
]
},
"groups": [
"c61f8465acfc7fcbf2952d32",
"bd9da6194f6de0ce93a5bd7f",
"799114761933a7fc88886258"
],
"type": "operation",
"nodeLocation": {
"x": -67373922.05029753,
"y": -86133418.3968216
},
"deprecated": false,
"scheduled": false,
"retrySettings": {
"state": [
"success",
"success",
"failure",
"failure"
],
"autoRetry": true,
"limit": 20,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"ebb94d35f0799a92bedc4b6e",
"0987eb94a29417d557a384ea",
"2285ab5913859e887031fdb4"
],
"_id": "7220adc6-1233-e642-b5c5-b93ff3ff62f7",
"uuid": "9aa3cab0-dc7f-a178-1e4b-3236bea48fb1",
"description": null,
"namespace": null,
"preAutomationTime": 5000,
"sla": -99338093,
"errorHandler": null,
"font_size": 12,
"created": "2002-05-30T07:22:15.467Z",
"created_by": "7d5f1f2b801ec1c3c9ecb2b0",
"createdVersion": "5.40.5-2021.1.72.0",
"last_updated": "1954-06-21T23:20:58.335Z",
"last_updated_by": "204679785157cf0d51ced232",
"lastUpdatedVersion": "4.69.69",
"tags": [
"labore",
"fugiat",
"fugiat mollit sunt laboris voluptate",
"minim aliquip occaecat pariatur",
"ad dolor est deserunt magna"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/mBSC,,"
},
{
"type": "encryption",
"pointer": "/AfVesOA"
},
{
"type": "encryption",
"pointer": "/qip4xau/lSzHkvq08/~0/Uvvaps.2ov/NFvV,.,ZSAl/~0/l1+zzNzhG"
}
],
"migrationVersion": 26712228
}