...
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.
In the workflow below, the Second-Publish state is the workflow final state.
...
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"} ] }] |
...
an overview of JSON Triggers
a list of JSON Trigger Events
details of the publish-page trigger action
Info |
---|
Although the Comala Document Management family of apps can be applied to both pages and blog posts, Comala Publishing can only publish page content. Any blog post with a Comala workflow applied will simply be ignored by the Comala Publishing app. |
...