publish-page trigger action

Overview

When the workflow trigger event occurs the trigger will check that any required conditions are met, and if met, the "publish-page" action publishes a single page to a different space using Comala Publishing for Cloud app.

One or more trigger actions can be set for a named event in the workflow.

"publish-page"

Publishes a single page 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 draft source space for publishing to a target space.

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

If adding the JSON trigger using workflow builder there is no need to include the opening "triggers": JSON markup notation, it is added automatically by workflow builder.

On the state change event the publish-page action macro publishes the content to the target space.

o

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

o

The publishing breadcrumb on the target space page is also be updated.

The target space for publishing the page is configured in the Comala Publishing space settings. Publishing may also occur based on the configuration of the Comala Publishing app.

 

Trigger actions