Skip to content
Proud to collaborate with Microsoft for Startups

composition.rename ​

Rename a saved composition lineage without changing its runnable virtual workflow types

Rename the human-facing name for a saved composition lineage.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-composition
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
composition_uuiduuidYes—Any existing version of the lineage to rename
namestringYes—New human-facing workflow name

Output Schema ​

FieldTypeRequiredDefaultDescription
composition_uuiduuidYes——
workflow_typestringYes——
versionintegerYes——
statusstringYes——
namestringYes——
previous_namestringYes——
updated_countintegerYes——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completeRename saved composition lineage
completedNoYesYes—Renamed
failedNoYesNo—Rename failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "composition.rename",
  "initial_data": {
    "organization_uuid": "value",
    "composition_uuid": "value",
    "name": "value"
  }
}