Publish workflow template version
publish_workflow_template_versionPublish an immutable new version of a workflow template by supplying the exact current version; stale versions are rejected with a conflict.
Instructions
Publish an immutable new template version. Requires the OWNER role and the exact expected_current_version; a stale value returns a conflict. Definitions cannot weaken handler invariants, hide indispensable controls, change core types, or invent units.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| farm_id | No | Farm UUID; defaults to the active farm. | |
| definition | Yes | ||
| template_id | Yes | ||
| expected_current_version | Yes |