Table of Contents |
---|
minLevel | 1 |
---|
maxLevel | 6 |
---|
outline | false |
---|
type | flat |
---|
separator | pipe |
---|
printable | true |
---|
|
Excerpt |
---|
Triggering events when comments are created, updated or removed, or inline comments are created or resolved on the page. |
In the following examples, we show how to display a message when users add / update / remove comments or add / resolve inline comments on a page or blog post.
Code Block |
---|
|
{workflow:name=Comment added}
{state:In Progress}
{state}
{state:Approved}
{state}
{trigger:pagecommentcreated}
{set-message}A comment was added to the page.{set-message}
{trigger}
{workflow} |
Code Block |
---|
|
{workflow:name=Comment updated}
{state:In Progress}
{state}
{state:Approved}
{state}
{trigger:pagecommentupdated}
{set-message}A comment was updated on the page.{set-message}
{trigger}
{workflow} |
Code Block |
---|
|
{workflow:name=Comment removed}
{state:In Progress}
{state}
{state:Approved}
{state}
{trigger:pagecommentremoved}
{set-message}A comment was removed from the page.{set-message}
{trigger}
{workflow} |
Code Block |
---|
|
{workflow:name=Inline comment added}
{state:In Progress}
{state}
{state:Approved}
{state}
{trigger:inlinecommentcreated}
{set-message}An inline comment was added to the page.{set-message}
{trigger}
{workflow} |
Code Block |
---|
|
{workflow:name=Inline comment resolved}
{state:In Progress}
{state}
{state:Approved}
{state}
{trigger:inlinecommentresolved}
{set-message}An inline comment was resolved.{set-message}
{trigger}
{workflow} |
...