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

Overview

The {approve-page} macro is used to instantly approve a specific approval.

Where to use it?

Optional.

One or more {approve-page} macros can be put in a {trigger} macro.

Parameters

ParameterRequiredDefaultNotesVer

unnamed first parameter

(tick)


Name of the approval to approve.

Only applies if there is an active approval of that name.


comment



Approval comment:

  • Plain text
  • Can use any character set supported by your Confluence server – except some reserved characters.

credentials

OBSOLETE This parameter is no longer available and should not be used.

The credentials are now defined at the Space level. For more information, see Remote-space publishing.

Removed
in 5.0.8

Events

The following Events are associated with approvals:

  • newsapproved
  • pageapproved

Example

{workflow:name=Approve Page}
   {state:Editing|submit=Content Review}
   {state}
   {state:Content Review|approved=Published|rejected=Editing}
      {approval:Review}
   {state}
   {state:Published}
   {state}
   {trigger:statechanged|state=Content Review}
      {approve-page:Review|comment=Instant approval}
   {trigger}
{workflow}

All examples

There is no content with the specified labels

See also

Workflow Authoring Guide:

Reporting Guide: