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.

Info

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

"publish-page"

Excerpt

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.

Code Block
"triggers":
[
	{"event": "on-change-state",
	"conditions":
	[
		{"final":true}
	],
	"actions":
	[
		{"action": "publish-page"}
	]}
]
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 is added automatically by workflow builder.

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

Child pages (Children Display)
pageJSON Trigger actions

Related Pages