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"

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.

"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 added by workflow builder.

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