Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

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

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.

"publish-page"

Excerpt

Publishes a single page to a different space using Comala Publishing for Cloud app.

  • action (publish-page)

(green star) This

This trigger action is only available

when the  for app

 is installed and the current space has been enabled as a draft space for publishing to a target space.

Code Block
"triggers":
[
	{"event": "on-change-state",
	"conditions":
	[
		{"final": "true"}
	],
	"actions":
	[
		{"action": "publish-page"}
	]}
]
(info) If
Info

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

On the state change event the publish-page action macro will publish 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 will 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.

List of trigger Trigger actions

Child pages (Children Display)
pageJSON Trigger actions