publish-page trigger action

Overview

Use the "publish-page" trigger action when you need greater flexibility and control over when and where a page is published when using the Comala Document Management and Comala Publishing apps. It’s ideal for complex workflows and staged content releases.

When the workflow trigger event occurs, the trigger checks that any required conditions are met, and if they are met, the "publish-page" action publishes a single page in a different space in the same Confluence Cloud site using Comala Publishing for Cloud app.

"publish-page"

When added to a workflow trigger, publishes a single page on a workflow event to a different space using Comala Publishing for Cloud app.

  • action (publish-page)

This trigger action is only available when Comala Publishing Cloud is installed, and the current space has been enabled as a source space for publishing to the target space.


 

For the workflow shown below:

cdmc_custom_wf_visualflowcart_withFirstPublish_state.png

Adding the following trigger publishes the page on the state change to the First Published state.

"triggers": [ {"event": "on-change-state", "conditions": [ {"state":"First Publish"} ], "actions": [ {"action": "publish-page"} ]} ]

The publish-page action macro publishes the content in the target space on the state change event.

image-20241011-125031.png

The Comala Publishing breadcrumb is updated on the draft page header and on the target space page.

The target space for publishing the page is configured in the Comala Publishing space settings. Publishing can also occur based on the configuration of the Comala Publishing app, such as a space publishing action or a single-page publishing.

Adding a publish-page trigger does not prevent the page from being published on a transition to the final state.

Related Pages

Comala Document Management

Comala Publishing Cloud