Execute Workflow Transition
plone_transition_workflowExecutes a workflow transition like 'publish' on a Plone content item, changing its state. Provide the path and transition.
Instructions
Changes the workflow state of a content item by executing a specific transition, like 'publish' or 'submit'. Example: plone_transition_workflow({path: '/my-document', transition: 'publish'})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the content | |
| transition | Yes | Workflow transition to execute | |
| comment | No | Comment for the transition |