null


Skip to end of banner
Go to start of banner

clean-messages trigger action

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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.

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

"clean-messages"

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

  • action (clean-messages

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

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.

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

  • No labels