Comala Workflows is now Comala Document Management. Click here for the latest documentation.

Overview

These references provide information related to the current page.

Where can they be used?

You can use user references in the following macros (including, where applicable, parameters, Conditions and macro body):

They can also be used in Actions. See Event references for a full list of references that can be used in Actions.

References

ReferenceTypeEvent(s)Description

@modification@

Dateall events

The date that this content was last modified.

@page@

Linkall events

A link to this piece of content.

@parent@

Linkall events

A link to the parent of the page (only for pages)

@created / posted@

Dateall events

The date that this piece of content was created.

@space@

Textall events

Name of the space that this content belongs too.

@title@

Textall events

The title of this piece of content.

@version@

Textall events

The version number of this piece of content.

@id@Textall eventsThe id of this piece of content
@labels@Textall eventsList of comma separated labels of this piece of content



ReferenceTypeEvent(s)Description
@author@
or @creator@
Usernameall events

The username of the person who created the page or blog post.

Specifically, it returns the username of the person who clicked the Publish button when the page or blog post was first created.

@modifier@Usernameall eventsThe username of the person who last changed this content.

@user@

Usernameall events

The username of the active user who triggered the event or state transition.

Using this reference can be unreliable outside of events, and also in cases where an event or transition is caused by state or task expiry.

Example

A common use would be to prevent page creators from taking part in content reviews:

{workflow:name=Review}
   {state:In progress|submit=Review}
   {state}
   {state:Review|approved=Approved|rejected=In progress}
      {approval:Review|assignable=true|exclude=@creator@}
   {state}
   {state:Approved|final=true|updated=In progress}
   {state}
{workflow}