(Difference between pages)
No edit summary |
(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...") |
||
Line 1: | Line 1: | ||
{ | ==<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. | |||
{| class="wikitable" | |||
|+ | |||
! colspan="2" style="background-color:rgb(234, 236, 240);text-align:center;" |'''Short profile''' | |||
|- | |||
| style="" |Name | |||
| style="" |ApprovePage | |||
|- | |||
| style="" |Async | |||
| style="" |Yes | |||
|- | |||
| style="" |BPMN type | |||
| style="" |<code>bpmn:Task</code> | |||
} | |- | ||
|BPMN Extension Element "wf:type" | |||
|<code>approve_revision</code> | |||
|} | |||
==<span class="mw-headline">Properties</span>== | |||
{| class="wikitable" style="width:100%;" | |||
! style="background-color:rgb(234, 236, 240);text-align:center;" |'''Name of property''' | |||
!Source | |||
! style="background-color:rgb(234, 236, 240);text-align:center;" |'''Description''' | |||
! style="background-color:rgb(234, 236, 240);text-align:center;" |'''Type''' | |||
|- | |||
| style="" |<code>comment</code> | |||
|<nowiki>-</nowiki> | |||
| style="" |The comment to be saved with the approval | |||
| style="" |string | |||
|- | |||
|<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. | |||
|int | |||
|} |
Revision as of 14:27, 21 December 2021
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 | Source | 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 |