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": 69566124.4988864,
"y": 50718479.411752194
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -31980391.970754236,
"y": -70597390.73901886
},
"error_handler": {
"name": "childJob",
"summary": "dolor",
"description": "magna labore consectetur in ut",
"app": "consectetur minim magna veniam",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1"
},
{
"type": "encryption",
"pointer": "/n59Kr/Kv5"
},
{
"type": "encryption",
"pointer": "/~1/~0/~0/~0/~1/mvLyHkQ8Av/~1/pxHJaW"
}
]
},
"groups": [
"d94f9e93bb91e8a8c0eb0837",
"b02f2d0fec8c40b35b92422f"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"afbab42d852de082838e2f89",
"deb7dada798622dadb6f4e93",
"d83058222762687aae626e1c",
"454b67154160fb3856fe9f04"
],
"_id": "908d0eab-342b-b1fb-0976-04bdd14d3f78",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1969-10-16T11:13:24.163Z",
"created_by": "1de5f8e0e1a57f28420e123a",
"createdVersion": "mollit incididunt enim",
"last_updated": "1999-09-16T10:36:31.783Z",
"last_updated_by": "ff84d927cc30054b51e7add7",
"lastUpdatedVersion": "aliqua qui",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/C"
}
]
},
"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": -29346901.495687395,
"y": 43985211.57332799
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -98272221.47266679,
"y": -8399041.441377088
},
"error_handler": {
"name": "childJob",
"summary": "labore ad",
"description": "commodo sed sunt",
"app": "et reprehenderit sunt ipsum",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/~0/~0/l3AJ/teCXg50+N/~0/~0"
},
{
"type": "encryption",
"pointer": "/QjoYYqa6/qCiAFQ6Sy+b/Cal"
},
{
"type": "encryption",
"pointer": "/~0/BQpZ-BB/b-z885,/O+oB5hTeiW/IOwlyRaik+A/~1/WeQ2I.3,1/~0"
}
]
},
"groups": [
"37715c1410a4479e74c54cdd",
"5584cc6774cbda25e371e585"
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"fc85b374a97e784ca3b56a41",
"d2fc7c832c5bc87997c9178d",
"c1baa6e825063073df53886e"
],
"_id": "1d63821a-809f-678a-c06b-05a5c29af99c",
"description": "velit",
"errorHandler": null,
"font_size": 12,
"created": "1974-10-03T07:47:45.031Z",
"created_by": "b18cf078494e44403d04434d",
"createdVersion": "id Duis",
"last_updated": "2010-07-19T13:25:29.39Z",
"last_updated_by": "ac2537a79b11a58a6fe3ffb3",
"lastUpdatedVersion": "elit",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/vWGths/~1/~0/H+/~1"
},
{
"type": "encryption",
"pointer": "/py/A9yuGC/~1/~0/~0/xTpiPcYWp/~1/hR4aro/i/~0"
},
{
"type": "encryption",
"pointer": "/fuA/~0/T2NTyA/~1/~1/SLR/DqKWYu/LD"
},
{
"type": "encryption",
"pointer": "/~1/~1/Y,yj"
}
]
}