Skip to end of banner
Go to start of banner

Comment events

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

Version 1 Current »


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

{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}

Inline comment resolved

{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}
  • No labels