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)

The trigger action is only available when the Comala Publishing for Cloud app is installed and the current space has been enabled as a draft space for publishing to target public 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  JSON markup notation, since It it will be added by workflow builder.

The target space for publishing the page is configured in the Comala Publishing space settings.


Related Pages

List of trigger actions

Child pages (Children Display)
pageJSON Trigger actions