Manual:Extension/Workflows/Activity/ApprovePage: Difference between revisions

Redaktion (talk | contribs)
No edit summary
Redaktion (talk | contribs)
No edit summary
 
Line 1: Line 1:
==<span class="mw-headline">Description</span>==
==<span class="mw-headline">Description</span>==
The ApprovePage activity will set the status of a page from ''draft'' to ''approved'' status. Flagging will be done with a special user-context to avoid permission errors. This activity can ony be used with pages that have the approval feature ([[Reference:FlaggedRevs|FlaggedRevs]]) enabled.
The ApprovePage activity will set the status of a page from ''draft'' to ''approved'' status. Flagging will be done with a special user-context to avoid permission errors. This activity can only be used for pages that have the approval feature ([[Manual:Extension/ContentStabilization|ContentStabilization]]) enabled.
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 29: Line 29:
| style="" |string
| style="" |string
|-
|-
|<code>revision</code>
|<code>user</code>
|The revision ID to approve. If not provided explicitly, the page revision of the workflow context will be used, which may be outdated.
|User who approved the page
|int
|int
|}
|}

Latest revision as of 14:37, 19 June 2024

Description

The ApprovePage activity will set the status of a page from draft to approved status. Flagging will be done with a special user-context to avoid permission errors. This activity can only be used for pages that have the approval feature (ContentStabilization) enabled.

Short profile
Name ApprovePage
Async Yes
BPMN type bpmn:Task
BPMN Extension Element "wf:type" approve_revision

Properties

Name of property Description Type
comment The comment to be saved with the approval string
user User who approved the page int



PDF exclude - start

To submit feedback about this documentation, visit our community forum.

PDF exclude - end