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

(Created page with "==<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 spe...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
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"
|+
|+
! colspan="2" style="background-color:rgb(234, 236, 240);text-align:center;" |'''Short profile'''
! colspan="2" style="background-color:rgb(234, 236, 240);text-align:center;" class="" |'''Short profile'''
|-
|-
| style="" |Name
| style="" |Name
Line 21: Line 21:


{| class="wikitable" style="width:100%;"
{| class="wikitable" style="width:100%;"
! style="background-color:rgb(234, 236, 240);text-align:center;" |'''Name of property'''
! style="background-color:rgb(234, 236, 240);text-align:center;" class="" |'''Name of property'''
!Source
! style="background-color:rgb(234, 236, 240);text-align:center;" class="" |'''Description'''
! style="background-color:rgb(234, 236, 240);text-align:center;" |'''Description'''
! style="background-color:rgb(234, 236, 240);text-align:center;" class="" |'''Type'''
! style="background-color:rgb(234, 236, 240);text-align:center;" |'''Type'''
|-
|-
| style="" |<code>comment</code>
| style="" |<code>comment</code>
|<nowiki>-</nowiki>
| style="" |The comment to be saved with the approval
| style="" |The comment to be saved with the approval
| style="" |string
| style="" |string
|-
|-
|<code>revision</code>
|<code>user</code>
| -
|User who approved the page
|The revision ID to approve. If not provided explicitly, the page revision of the workflow context will be used, which may be outdated.
|int
|int
|}
|}

Latest revision as of 16:37, 19 June 2024

1. 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

2. Properties

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




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

No categories assignedEdit

Discussions