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": [
"46faf61038bbcb695027bdfb",
"e1bde5135bc3558a310b1924",
"7ea61b4c6cf8592cfe136064",
"3bdc181c9a161194fca971e2"
],
"x": 8894406.64668268,
"y": -88491218.68843114
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"b23aca598f8d23b0c408be71",
"0f8a7b8bb9c5a95a7a0dddf1"
],
"x": 2806000.9724363536,
"y": -40608212.247751266
},
"error_handler": {
"name": "childJob",
"summary": "proident irure",
"description": "aute culpa consequat et dolor",
"app": "tempor qui est quis laborum",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/icfTh,Ei/~1/udQHVm83"
}
]
},
"groups": [
"1d770b10f6b8f32b17596f52",
"0ef1f468f897bba130a2305a",
"9293215382f9fa128c841eed"
],
"x": -59188443.2002574,
"y": 63458955.63988063,
"type": "operation",
"gridCoordinate": {
"x": 59613645.724900454,
"y": 93002286.55486462
},
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"1d6d9522037f1b0bcc343897",
"26803ac5c96f0309639eb62d",
"a941fb11f26e5224d6aacef6",
"d3b519452f7776f69d1dad07"
],
"_id": "ecea8d0f-e767-4bd6-ea3f-bbca6b3207b2",
"description": "labore aliquip minim in ex",
"namespace": {
"type": "project",
"_id": "5cb5252a1bbc5a00def564c1",
"name": "sint do magna",
"accessControl": {
"read": [
"sint irure"
],
"execute": [
"nostrud"
],
"write": [
"occaecat commodo",
"ea Ut",
"reprehenderit culpa aliqua irure cillum",
"nostrud",
"ea Duis officia nisi in"
],
"manage": [
"dolore",
"sed labore exercitation dolore",
"voluptate ex do dolor"
]
}
},
"errorHandler": null,
"font_size": 12,
"created": "2002-08-10T17:56:04.533Z",
"created_by": "ea026dcc68c80cdc2cf1cc16",
"createdVersion": "tempor et veniam eiusmod",
"last_updated": "1999-04-30T19:31:17.231Z",
"last_updated_by": "8cc7a24516c4ee43f4530d55",
"lastUpdatedVersion": "in adipisicing sint sunt",
"tags": [
"aliqua pariatur occaecat consequat",
"reprehenderit quis commodo ex et",
"est esse",
"aliqua eiusmod Ut non culpa"
],
"canvasVersion": 1,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~1/~0/c/hdCJIEw/~0/~0"
},
{
"type": "encryption",
"pointer": "/yva/Ae/QC22fvg"
}
]
},
"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": [
"054f4ee848df14d1848d52b4",
"a44e1ac1ed3f914ef91fe0a3"
],
"x": 23879696.41105832,
"y": 95155897.86199096
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"8de0ca90e80af1c0d11fe154",
"049bd2673d9efed070a2bb0c"
],
"x": -1292545.3555748612,
"y": 35125829.457707256
},
"error_handler": {
"name": "childJob",
"summary": "laborum qui",
"description": "ut pariatur",
"app": "in consequat commodo veniam",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/U-lIBq/e.TWehEZMZ7/~1/l5I27."
},
{
"type": "encryption",
"pointer": "/UG2UU0-+JD"
},
{
"type": "encryption",
"pointer": "/~1/~0/bVyeZ/XzHWGzl40U//~1/il.dPHhDL/wUMY1wHn6,/~0"
}
]
},
"groups": [
"48d24117c4f289914dd6139b",
"b21f526095f4cfe40644066a",
"d8fd2e2b12686c4d9b5c5934",
"851d234fe4425eceb3c8b871"
],
"x": -58645690.541510075,
"y": 5196246.115521356,
"type": "operation",
"gridCoordinate": {
"x": -61573908.18873032,
"y": -10553510.54529883
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"3bd3356824a340cbadb253eb",
"cd8ea864cc3aef0252334f23",
"81fb2a8d261d14ba0a9efc2a"
],
"_id": "ba8282f9-64e2-7c03-8fce-c5c81e677c90",
"description": null,
"namespace": null,
"errorHandler": {
"type": "consequat",
"name": "velit"
},
"font_size": 12,
"created": "1993-02-21T19:50:31.924Z",
"created_by": "f2e16ee60163d5f457380c41",
"createdVersion": "officia Duis est labore cupidatat",
"last_updated": "1959-01-15T21:16:09.008Z",
"last_updated_by": "d4fe68d7f2196a450e75405f",
"lastUpdatedVersion": "velit quis",
"tags": [
"dolor aute Ut",
"Lorem incididunt mollit cillum minim",
"culpa non commodo mollit"
],
"canvasVersion": 1,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/~0/RVcB/~0/~1/~0/hjTIIV1"
},
{
"type": "encryption",
"pointer": "/Ib6xGB6ex7/~1/OOitRlY9+7J/~1/~1"
},
{
"type": "encryption",
"pointer": "/~0/~0/V6sMHMR0GW/~1/x"
}
]
}