Summary
RENAME does not support workflow as a target type. Supported types: entity, microflow, nanoflow, page, enumeration, association, constant, java action. Workflow is absent.
Reproduction
SHOW WORKFLOWS;
-- BusinessProcesses.RepairBookIn exists
RENAME WORKFLOW BusinessProcesses.RepairBookIn TO RenamedRepair;
-- Parse error: no viable alternative at input 'RENAMEWORKFLOW'
Expected
RENAME WORKFLOW should work consistently with other document types.
Workaround
DROP + re-CREATE with new name (loses internal IDs and references).
Summary
RENAME does not support workflow as a target type. Supported types: entity, microflow, nanoflow, page, enumeration, association, constant, java action. Workflow is absent.
Reproduction
Expected
RENAME WORKFLOW should work consistently with other document types.
Workaround
DROP + re-CREATE with new name (loses internal IDs and references).