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
 
Line 3: Line 3:
{| 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>revision</code>
| -
|The revision ID to approve. If not provided explicitly, the page revision of the workflow context will be used, which may be outdated.
|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 12:43, 25 October 2023

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 ony be used with pages that have the approval feature (FlaggedRevs) 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
revision The revision ID to approve. If not provided explicitly, the page revision of the workflow context will be used, which may be outdated. int




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

No categories assignedEdit

Discussions