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": [
"939abc6029384cbad7f6deea",
"91286c5fcd05aac149aea3ec"
],
"x": 17534393.159302965,
"y": -59351787.01361971
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"ce124ed175b77694e033a03c"
],
"x": 90895420.86447394,
"y": 36733139.833990216
},
"error_handler": {
"name": "childJob",
"summary": "eiusmod do",
"description": "exercitation cupidatat consequat",
"app": "sit velit enim magna in",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/rof/~1/~0"
},
{
"type": "encryption",
"pointer": "/~1/duO9+kByu/GIB.LDwnP/~0/yFWSvBB8xNe"
},
{
"type": "encryption",
"pointer": "/Z1Os-eG/~0/j/HJfp.W/~1/~1"
},
{
"type": "encryption",
"pointer": "/gIe/dO/m+9e5Kag//T/b7/~1/wXCNn/~0"
}
]
},
"groups": [
"22c7e5b8a447c7434e51affe",
"a4a9410098b4afa37d5aec6a"
],
"x": 91714446.43789566,
"y": -44239186.69706279,
"type": "operation",
"gridCoordinate": {
"x": -60808410.095598035,
"y": -64191277.84434795
},
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"60bc9007dbfaf353b924e612",
"2ece9aab4e29ef8b843a5e5d",
"7c41b4df52f28cb97ca98996",
"9a0cf196d82a5b25d2ed829b"
],
"_id": "10757001-71dd-900e-d3b8-745949ac0620",
"description": "consectetur in mollit",
"errorHandler": null,
"font_size": 12,
"created": "1976-06-30T12:07:09.444Z",
"created_by": "177204d5ed30d335b303d6aa",
"createdVersion": "ad ut Ut cupidatat sed",
"last_updated": "1970-12-30T00:29:06.423Z",
"last_updated_by": "fad36492af589ca54d6c3616",
"lastUpdatedVersion": "incididunt",
"tags": [
"Duis mollit incididunt ut",
"labore",
"in",
"Duis",
"reprehenderit est qui"
],
"canvasVersion": 2,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/VX8zXogMX92/~0/XA9Lrm4B/z5S0SQ1Zj-/ZMWWWJXAN//CNQu/u"
},
{
"type": "encryption",
"pointer": "/~1/~0/kQtSiOGP//tRT-/~0/~1/~0"
},
{
"type": "encryption",
"pointer": "/~1/~1/k/af+,BVXl2l/w/~1/~0"
}
]
},
"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": [
"b268d04e70e0853893df047b",
"47d9697ecd576dcea27392e9",
"b7e34eff4b292b719b1761e3",
"e2e5044a3f27f9b922c82a9f"
],
"x": -82496564.40480684,
"y": -49756403.32318711
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"2b91fa8cc7bb408d374b167c",
"94adaaf859b7c7d334a9a7da",
"35e5c9d3540d0e289cc7b44c"
],
"x": -27877286.417670667,
"y": 41656473.75897312
},
"error_handler": {
"name": "childJob",
"summary": "deserunt",
"description": "aliquip dolor laborum",
"app": "anim laboris sit dolore",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/VBu/~1/~0/Yln2Qqf8/~0/Hg//~1"
},
{
"type": "encryption",
"pointer": "/wk+/sm1djQA6/~1/~1/~1/~0/~1/S5Sb04a/z-WH6duzHd/u"
},
{
"type": "encryption",
"pointer": "/KnvF1"
},
{
"type": "encryption",
"pointer": "/h5HQ/runiYZ/~0/AA,/+A/JC/K8BBW/p8IK6yG7/~0"
}
]
},
"groups": [
"c2e19e9dd574e52e97132b3a",
"745bfab9f3dfc0dd72ff31d6",
"6ee0cc36665541e3018b8c40",
"e65ed98e7295b782b8f1c0c2"
],
"x": -30008292.365819544,
"y": -15269083.053116232,
"type": "operation",
"gridCoordinate": {
"x": -9528251.376562566,
"y": 85999742.30865306
},
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"c09c3bb6c331de1023e5c385"
],
"_id": "dbd016a4-8f58-a3d4-d535-f7d62609a5b9",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1968-11-17T03:20:17.228Z",
"created_by": "54b98b88bccb418f687003d8",
"createdVersion": "cillum id Ut elit do",
"last_updated": "1954-12-31T16:23:34.065Z",
"last_updated_by": "d1041adc9ba8720f3469fb92",
"lastUpdatedVersion": "do",
"tags": [
"voluptate ea consectetur",
"ad eiusmod ut",
"officia minim",
"tempor cillum laboris"
],
"canvasVersion": 1.5,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/vzVig/~0/Nix-lq/ke/~1/lOg/~0/rNNI/~0/CqI5KxzfFy/bc8UEdp09"
},
{
"type": "encryption",
"pointer": "/AoohzqYhO-d/fW1-x1dR"
},
{
"type": "encryption",
"pointer": "/~1/OfoZNd/~0"
},
{
"type": "encryption",
"pointer": "/g6nrRG7o/NYgJ+-/~1/~1/~0"
},
{
"type": "encryption",
"pointer": "/q63oJ8g/FLuH/~0/~1/y/r8+ob+K2a/o-0sHHsalW/Bu3S/bqTxojf/RY/GixUA7dq"
}
]
}