Publish Workflow
workflow.publishPublish a workflow's draft as a new version and turn it on. This always asks the user first. When the draft has errors nothing is published and the workflow stays as it was: errors say what to fix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| errors | Yes | Why it was not published; fix them with workflow.update | |
| version | No | ||
| isActive | Yes | ||
| warnings | Yes | ||
| published | Yes | ||
| workflowId | Yes |