...
A page in any state can also be published using the standalone publishing option.
Adding a trigger event to publish a page
If a user wants to publish using a different workflow event than "when reaching the workflow final state" the user can edit a custom workflow and add a JSON markup for a trigger using workflow builder.
...
The workflow can be edited to add the following trigger markup. This would action publishing of the content on a transition to the First-Publish state instead of the transition to the final state (the Second-Publish state).
Code Block |
---|
[{"event": "on-change-state", "conditions": [ {"state": "First-Publish"} ], "actions": [ {"action": "publish-page"} ] }] |
...