add-comment macro


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?


One or more add-comment macros can be put in a trigger macro.


macro body(tick)

Content of comment:


         Page approved by @approvaluser@

Note: @approvaluser@ is a Predefined reference.

See also

Workflow Authoring Guide: