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": [
"3455088dcdff5a3be7351aab",
"8efeef5136a89ef354f1df9a",
"608bbeaf3e8e146e01984fac",
"75c2733b060839087714d23e"
],
"x": 58387029.50413209,
"y": -45802840.01311807
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"1b846be28cb2b64c4ee7da2a",
"bd8686105c95231d4c4de2d3"
],
"x": -47199973.06752495,
"y": -13303564.45105894
},
"error_handler": {
"name": "childJob",
"summary": "amet ullamco nisi deserunt",
"description": "dolore dolore velit ut",
"app": "labore dolore",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/OC/KGL/l"
}
]
},
"groups": [
"b302e0953263a261cee84002",
"1dd43af6e676322fe0008e5a",
"17cb953e362d33ca5de34092"
],
"x": -44909144.50031749,
"y": -88164415.40061937,
"type": "operation",
"gridCoordinate": {
"x": 95090906.88477448,
"y": 52740757.08816731
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"7cf2ffedce4c27288056d84c"
],
"_id": "74c94f02-e60b-94f0-8c0c-24d5d9952f0d",
"description": "tempor elit ut",
"errorHandler": null,
"font_size": 12,
"created": "1982-05-30T08:50:24.264Z",
"created_by": "530fee43f31f82277bdda875",
"createdVersion": "eu",
"last_updated": "1985-02-04T14:54:01.836Z",
"last_updated_by": "072de0eeb5396fadb5d74380",
"lastUpdatedVersion": "cillum ad",
"tags": [
"qui dolor",
"elit dolore eu ut dolor",
"dolor sint",
"veniam Excepteur commodo",
"commodo dolor"
],
"canvasVersion": 1,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/~0/~0/wM7gAklq/~1/~0"
},
{
"type": "encryption",
"pointer": "/RJ,FBcrxsX/~0/FE,g/B/~0/PyMh/~1/KKGkB0n/~1/~0/ijgNUV5v5,t"
}
]
},
"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": [
"5ef55738caf97665b6329304"
],
"x": 78308788.63667187,
"y": 80596453.75786144
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"ab164ba2dff7f1d64122d4dd",
"e543fffd9df05af53f26a77c"
],
"x": -88096840.60851426,
"y": -49144660.24219633
},
"error_handler": {
"name": "childJob",
"summary": "sint ipsum aliquip officia",
"description": "aliqua officia ut",
"app": "ea consectetur non",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/zoq50N17Hbw/qK1s9Gp2"
},
{
"type": "encryption",
"pointer": "/Fs+gUEK3/B/~0"
},
{
"type": "encryption",
"pointer": "/~1/~1/~0/kp,e/oo5fH3ZRl//P/~1/iR.,NYvqY"
},
{
"type": "encryption",
"pointer": "/~0/k4vi/Qx/ketnL6/uHXrZR1k/~0/rNVlrm2Gh/V/~0/i3KFJZ/~0/IJDy-"
}
]
},
"groups": [
"675b687794f66ba0b10d1d01",
"f318b75e92a36059ce06108d",
"088f0b2860b639f85655a84d"
],
"x": -86861741.41420642,
"y": 81683806.85610822,
"type": "operation",
"gridCoordinate": {
"x": -16693187.627423093,
"y": -18641195.76567571
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"92bd256b148f195406874ad1",
"9529e9debb1bfa5e4eb28082",
"7ea8932b8408a77e217726f9",
"40771662386bf69848b41bcc",
"12dae3709cbddb40d7611d80"
],
"_id": "e62dffe9-fe55-9d2b-ceff-ef90d0e1ca55",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1965-12-02T03:17:44.884Z",
"created_by": "7abd81d5383327c7162dd38e",
"createdVersion": "ut quis elit cupidatat",
"last_updated": "1999-04-03T20:28:59.963Z",
"last_updated_by": "e6ecf8d5917ad8e2fe3e07ed",
"lastUpdatedVersion": "adipisicing irure",
"tags": [
"enim adipisicing sit culpa sunt",
"veniam cupidatat velit"
],
"canvasVersion": 1,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/azR/EubYP.LmW-/mmm,.uyp1a/JWZjEPN/~1/ysU/~1/~0"
},
{
"type": "encryption",
"pointer": "/waWBFDf"
}
]
}