Using comment events in workflow triggers
1 Overview | 2 Comment created | 3 Comment updated | 4 Comment removed | 5 Inline comment created | 6 Inline comment resolved
Overview
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.
Comment created
{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}
Comment updated
{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}
Comment removed
{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}
Inline comment created
Inline comment resolved