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": [
"ddae9ca1714a3cc98c57d6c7"
],
"x": -14730313.697675884,
"y": 17164198.32976146
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"aff34498a606a5107e5ec803",
"8a480500fd282abe3a77df5f",
"b00f3b15e2aac0a8c2756a7d",
"a145d0cbf065b9ae5f660a13"
],
"x": -77917528.84020968,
"y": -21940100.644396707
},
"error_handler": {
"name": "childJob",
"summary": "cillum sunt nulla pariatur",
"description": "qui",
"app": "nulla aute fugiat",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/f/vDJ/Kl/~1/~0/~1"
},
{
"type": "encryption",
"pointer": "/~0/~1/~1/~1/~0/~1/~0/Z"
},
{
"type": "encryption",
"pointer": "/s83/WjdRckcUe/tBp/~1/yWlW/YrafFowo/j/~0/XE6KE.A6/~1/tr0Yb0oSW//qV9E2JoPy+o"
}
]
},
"groups": [
"9ffb150198d2ec01d218ddcd",
"4b600ba2e2d3809d5c0ac03e",
"8e0d316cd23f2a5a7065b033",
"09cbec3090a9c37ccb788e0f"
],
"x": 85337567.72192729,
"y": -17836846.651062816,
"type": "operation",
"gridCoordinate": {
"x": 9155256.734347537,
"y": -89502666.20318547
},
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"fd73bfb5cb0757654149da4e",
"f13d00e461b5008314fdc997",
"fcef7711b4256ae424c4def1"
],
"_id": "4df7ceff-a78f-18c4-2360-7b79e7cd1371",
"description": null,
"errorHandler": {
"type": "minim est cillum cupidatat labore",
"name": "irure sed ut"
},
"font_size": 12,
"created": "1991-03-01T00:23:12.622Z",
"created_by": "533e3d3e7bb413213467727d",
"createdVersion": "Lorem Ut proident aliquip",
"last_updated": "1986-10-21T01:53:46.442Z",
"last_updated_by": "ebe3ba737553debcd85c2ad2",
"lastUpdatedVersion": "amet",
"tags": [
"ut nostrud nisi dolore in",
"exercitation",
"veniam do consectetur enim amet",
"ipsum laborum"
],
"canvasVersion": 1,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/LyPFOdqr4-/Lt79u7Tf0vp/EsXa5cgC+O/G0Ctu4jSIX/~1/iSfo2GEXZUi/Q+mJHrqZ39/inBton+GPC/"
},
{
"type": "encryption",
"pointer": "/mlFMROnH/~0/LWjgRC/~1/kPJcleCG0//~1/WJ/A"
},
{
"type": "encryption",
"pointer": "/h/lv/~0/LVb/VWJ/Ts0/vqrm/jiT"
}
]
},
"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": [
"b3c9a9667579f226523c05c0",
"2ae51e371c1e4bd964e200f1",
"251c446ef0be355fabf400bf",
"4053188be0eef1a424d56350",
"88eb4b88ccb650e0261da78c"
],
"x": 27703548.292119294,
"y": 55774946.6445716
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"6f8a198c8fca34a2bef32d5e",
"69d701a7764486be14b3b7f0",
"12b11819d80597e9387dd0c9",
"b18e8f81f5f478db1cd40942",
"3e6b7e34414d5b5c069d61de"
],
"x": 95839046.46938035,
"y": -55407505.28727685
},
"error_handler": {
"name": "childJob",
"summary": "ipsum",
"description": "ullamco",
"app": "sunt",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/Wjkd/rxlkX/j/QSGk1B,1g/E+nfv/~0/WYSd/kx,lRvuFh"
},
{
"type": "encryption",
"pointer": "/rAp7uXfy56u/w/~1/~1/~0/~0/~1/r/~0"
},
{
"type": "encryption",
"pointer": "/~1/~1/~0/wvrd/~0/zistW/~0/vzi6Pa/~0"
}
]
},
"groups": [
"71ed80df0bb4824a2603a04a",
"9a20fe687f36fcdeee9652c7",
"7d35cd589013183b00007ce3",
"fd242ef502ca295c99736398",
"ef2db72a64f9513def34a0b8"
],
"x": 94831245.83534268,
"y": 21433420.65366772,
"type": "operation",
"gridCoordinate": {
"x": 15083995.997207373,
"y": -71328185.66811939
},
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"35b634db9ec96130ba8f8414",
"07129c1d85cfc3f891c30604"
],
"_id": "fbc0ef90-699f-6648-2223-fef628468860",
"description": "fugiat ut",
"errorHandler": {
"type": "aliquip dolor deserunt dolore",
"name": "in consectetur dolor"
},
"font_size": 12,
"created": "1974-06-06T02:09:35.406Z",
"created_by": "652ebdea3b64efc6f38330e7",
"createdVersion": "pariatur enim laboris eiusmod sunt",
"last_updated": "2000-12-28T19:15:57.354Z",
"last_updated_by": "c2c6047973472f52f913bec5",
"lastUpdatedVersion": "quis in elit sed",
"tags": [
"eiusmod laboris minim ut",
"ad laboris dolore",
"Duis"
],
"canvasVersion": 1.5,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/g/L/NV4zpV4-+c/~1/~1/S"
},
{
"type": "encryption",
"pointer": "/UW7Vhyb+/vw3Ms/QnS4Mt/~0"
}
]
}