Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Overview
Comala Publishing can be used integration with Comala Document Management for Confluence Cloud to publish content using a Comala workflow trigger event.
...
In the instance Cloud publishes a page on the transition to the final state in the applied workflow. However, you can use a workflow trigger event to publish a page.
...
In this instance, you need to have the following installed
the Comala Publishing app
the Comala Document Management for Confluence Cloud app
You must have
added a target space for the published content in the space settings of the draft space
an active Comala workflow on the draft page content that includes a workflow trigger that includes contains the
publish-page
actionview and edit permission for both the draft space and the target space for publishing
Info |
---|
Pages can also be published using a Comala workflow and Comala Publishing when an The default integration automatically publishes a page when the applied workflow transitions to the workflow workflow’s final state., BUT If when a publish trigger is added to the workflow , a workflow to publish the page on a different workflow event, a transition to the workflow final state (if present) will does not publish the page. |
A page in any state can also be published using the standalone publishing option.
...
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.
...
We could can apply this workflow to a page in a draft space Human Resources Draft and . Comala Publishing would publish publishes and sync syncs the document on each a workflow transition to the Second-Publish state.
The workflow can be edited You can edit the workflow to add the following trigger markup. This would action publishing of the content trigger publishes a page on a transition to the First-Publish state instead of the transition applied workflow to the final state (the SecondFirst-Publish state).
Code Block |
---|
[{"event": "on-change-state", "conditions": [ {"state": "First-Publish"} ], "actions": [ {"action": "publish-page"} ] }] |
...
Once the updated workflow with the trigger is added and applied, the content is published to the target destination space on each occurrence of the trigger event - , which is the transition to the First-Publish state.
On the page, a the workflow popup allows a user you to approve the content to action the workflow transition to the First-Publish state.
...
The workflow publish-page
trigger action occurs on when the change of workflow state changes.
...
The page is published to our configured target space Human Resources Published.
...
When a publish-page trigger is added to a workflow, the a publish action on the workflow transition to the final state is does not actionedoccur. In our example, the Second-Publish state is the final state and a transition to the Second-Publish state would not cause the page to be published.
Details of Comala JSON trigger events and the publish-page
trigger action are available in the Comala Document Management product documentation including
an overview of JSON Triggers
a list of JSON Trigger Events
details of the publish-page trigger action
Info |
---|
Although the a Comala Document Management family of apps can be workflow is applied to both pages and blog posts, Comala Publishing can only publish publishes page content. Any blog post with a Comala workflow applied will simply be ignored by the The Comala Publishing app ignores any blog post for publishing. |
Related Links
Child pages (Children Display) | ||||||
---|---|---|---|---|---|---|
|
...