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 "clean-messages action " action removes all set messages

"clean-messages"

Excerpt

To remove all messages on the content simply add the "clean-messages" action

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

(info) if  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.

A (green star) A message can be set using "set-message" trigger action.


Related Pages

List of trigger actions

Child pages (Children Display)
pageJSON Trigger actions