This site has moved to the integrated Appfire documentation and information site for our apps.
From February 2024 this site is no longer updated.
Take a look here! If you have any questions please email support@appfire.com
add-comment macro
Overview
The add-comment
 macro adds a top-level (un-nested) comment to a page or blog post, in much the same way an end-user would.
The comment will be posted as if from the user who caused the event to be fired. In cases where no user was responsible for firing the event (for example, the pageexpired
 event), the comment will be posed as if from an anonymous (no user account) user, even if the space permissions do not permit anonymous posting.
Where to use it?
Optional.
One or more add-comment
 macros can be put in a trigger
 macro.
Parameters
Parameter | Required | Default | Notes |
---|---|---|---|
macro body | Content of comment:
|
Example
{workflow:Commenting} {state:Review|approved=Published|rejected=Review} {approval:Review} {state} {state:Published} {state} {trigger:pageapproved|approval=Review} {add-comment} Page approved by @approvaluser@ {add-comment} {trigger} {workflow}
Note:Â @approvaluser@
is a Predefined reference.