Versions Compared

Key

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

Overview

When the workflow trigger event occurs the trigger checks that any required conditions are met, and if met the "clean-messages" action removes all set messages.

Info

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

"clean-messages"

Excerpt

The "clean-messages" action removes all messages (set by a “set-message" trigger action) on the content.

  • action (clean-messages

Code Block
"triggers":
[
	{"event": "on-change-state",
	"conditions":
	[
		{"final":true}
	],
	"actions":
	[
		{"action": "clean-messages"}
	]}
]
Info

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

Tip

 A message can be set using the "set-message" trigger action.

Trigger actions

Child pages (Children Display)
pageJSON Trigger actions

Related Pages