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": 37458105.66466418,
"y": 72509791.62111554
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -50531412.60047687,
"y": 88900173.78910655
},
"error_handler": {
"name": "childJob",
"summary": "dolore deserunt incididunt commodo",
"description": "cillum id velit",
"app": "eiusmod culpa laboris dolor",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/aB2uG5G8f,3"
},
{
"type": "encryption",
"pointer": "/~0/~1/yPMDQig/RYZ/o3SfupG/~0/fUCPcKj,b,/~0/WOUS63V/~1"
},
{
"type": "encryption",
"pointer": "/~0/AvqMn/ZlgqQ-6/~0/~1/rHo/~1/oCpVDfT4r/qhOJ"
}
]
},
"groups": [
"ed2ef50d3db2083003cbd74b"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"ded5b76dbbe1830fca335e35",
"8ee6f4329415954a041ed5b6",
"fd2ca086939c0aed6c0c677b",
"fdabc8b184d72eced9df15e8"
],
"_id": "0689a159-e2d3-cacb-22a1-5074abc8c5f4",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1986-10-25T05:44:10.1Z",
"created_by": "f2c2da56cfacc3532eb86b50",
"createdVersion": "ea",
"last_updated": "1981-12-07T07:27:07.092Z",
"last_updated_by": "345c7a721c3df4a333c22406",
"lastUpdatedVersion": "id magna in cupidatat amet",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/x/~0/~1/~1/~0"
},
{
"type": "encryption",
"pointer": "/~0/~0/~0"
},
{
"type": "encryption",
"pointer": "/~1/~0/r/~1/ZmeTo3t3V/~1/~0/~0"
},
{
"type": "encryption",
"pointer": "/Hgi/~0/~1/rrK9lL+C0/Z,eD6/Xpom6OlLMow/ri9VIc-/~1/rE/~1/XEJM/fPvc"
},
{
"type": "encryption",
"pointer": "/Kdu/wFWQ/~1/Ej"
}
]
},
"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": -55927498.538543485,
"y": 68205062.89438346
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -61858431.28270823,
"y": -13724961.086850047
},
"error_handler": {
"name": "childJob",
"summary": "amet",
"description": "nostrud",
"app": "velit",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/~0"
},
{
"type": "encryption",
"pointer": "/w/~0/~0/TalZb/gdJ7Q.,nb/~1/~1/uWm/Hy7gJVf/ScRj7cpy"
}
]
},
"groups": [
"f1d0467b5006aa3102902d10",
"f16e54868b8ebde275cf0954",
"4888b069d19a2044baf3256f"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"dc9e6c8d605e0fbf3ff5652e",
"a3c2e6990a2f3c2fd72f7ae8",
"09d26ebff588ff15a461e38d"
],
"_id": "c807386e-48fc-f097-c4de-92fdff990db7",
"description": null,
"errorHandler": {
"type": "commodo laborum Lorem irure qui",
"name": "ipsum ea commodo"
},
"font_size": 12,
"created": "1984-07-12T15:55:04.21Z",
"created_by": "531de2f904ad1967eeff0ff5",
"createdVersion": "sint ex",
"last_updated": "1967-10-01T13:33:04.254Z",
"last_updated_by": "d032dc0f70878613e2a149e5",
"lastUpdatedVersion": "veniam enim exercitation culpa",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/t-"
},
{
"type": "encryption",
"pointer": "/~1/Ig/~1/U+/~1/~0/rT/~0/~1/~1"
}
]
}