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": [
"3ca6871ca11ff7e403ba60ae"
],
"x": -91357804.84794998,
"y": -60613681.1780726
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"9962d5c4632bf71ceeca03c9",
"15e5882a17d498161e54aa8e",
"d84fb8c7edcf6e6faa323bb3",
"d6044bd7821ac9963fd3a694",
"33be7af8f083d8617ed86cfc"
],
"x": -39865567.40324914,
"y": 86600586.0819551
},
"error_handler": {
"name": "childJob",
"summary": "elit mollit deserunt sunt",
"description": "aliqua",
"app": "minim irure pariatur nostrud in",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/GzjSf/FYW/LKEOIt68l/~1"
},
{
"type": "encryption",
"pointer": "/~0"
}
]
},
"groups": [
"ec26e02a29932d72e5c33638",
"a2c07f35a1cdcd27488f772e"
],
"x": 13841293.170629323,
"y": -63076746.724149935,
"type": "operation",
"gridCoordinate": {
"x": -53757012.47493989,
"y": -4399531.68569316
},
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"e0fa24013e35ffa87aba2f69"
],
"_id": "03631920-021b-cac7-2a2b-8d82c3cd82a4",
"description": null,
"namespace": null,
"errorHandler": null,
"font_size": 12,
"created": "1955-12-25T19:35:58.126Z",
"created_by": "73c1299974f653c0eb1de9e1",
"createdVersion": "qui sunt reprehenderit",
"last_updated": "1986-10-02T00:27:57.124Z",
"last_updated_by": "fe41dc432edddc2a0ee68222",
"lastUpdatedVersion": "est incididunt dolor",
"tags": [
"ex eu Duis eiusmod"
],
"canvasVersion": 1.5,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/lm/caMe//~0/xL.WWIcR6u+/MZtSF1/aXTHCts9G/q8KaVkd1X/Mdf-,AafbMv/~1/~1"
},
{
"type": "encryption",
"pointer": "/~0"
},
{
"type": "encryption",
"pointer": "/~1/~0/q,7Z9"
},
{
"type": "encryption",
"pointer": "/PGp/ZHopNaZbjw/PQi52RZuzbn/xM/jI2pj5x/~1/~1"
}
]
},
"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": [
"f65aeab4c82887b05b01422c",
"517f1da03aa7f9aba6a2e9c8",
"88c5a3aa58c665b3cb138ca4",
"e104017c83102dc9706d2179"
],
"x": -38449402.66591039,
"y": -59052121.98759546
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"51c35c4494ff42c8c57098ee"
],
"x": -49853827.02442065,
"y": 93165872.6106917
},
"error_handler": {
"name": "childJob",
"summary": "Ut id minim Lorem",
"description": "magna",
"app": "in sed id aute esse",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~1/~1/RXwfVEFUG,/ljqRCu8u/~1/x/~1/~0/~0/~1"
}
]
},
"groups": [
"a7a8ac0800c77db543b067a5",
"7dee015ab260476346ae5f2b"
],
"x": -20496447.80431162,
"y": -99901202.83109416,
"type": "operation",
"gridCoordinate": {
"x": 32203260.940137252,
"y": 17576801.390487477
},
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"4ba1117b3f78a6d44bc891ee",
"9a1171f0dcc08082cf49556c",
"b0acf6eb383cd95e51ca2967"
],
"_id": "f1277229-f7d4-a916-daab-e22d5d0bf3b5",
"description": null,
"namespace": {
"type": "project",
"_id": "5cb5252a1bbc5a00def564c1",
"name": "ea laborum ut enim",
"accessControl": {
"read": [
"proident adipisicing et nisi"
],
"execute": [
"amet dolore voluptate qui",
"velit eu",
"ut pariatur exercitation",
"Excepteur est",
"dolore dolor Excepteur nisi et"
],
"write": [
"ut"
],
"manage": [
"proident",
"sit",
"sed irure",
"ex Ut"
]
}
},
"errorHandler": null,
"font_size": 12,
"created": "1975-12-09T14:05:42.173Z",
"created_by": "65849869f2bc7249af220cd9",
"createdVersion": "ipsum occaecat",
"last_updated": "2018-02-21T15:14:38.201Z",
"last_updated_by": "876b401b2a282c4ed336a1b2",
"lastUpdatedVersion": "fugiat cillum",
"tags": [
"do consectetur consequat aliquip",
"eu consequat dolor sint qui",
"consequat et sed laborum est",
"deserunt"
],
"canvasVersion": 1.5,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/CLL/m75IJSX"
},
{
"type": "encryption",
"pointer": "/N9,fDs5l/os1..E3nR/~0/V"
},
{
"type": "encryption",
"pointer": "/m22/C9X7/~0/Xoxy08dNLv/z1/ek7/cWcZ/~1/Qk-Mw2.s0"
},
{
"type": "encryption",
"pointer": "/SKUvqx/h/~1"
}
]
}