Manual:Extension/Workflows/Activities/SetReminder: 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 special user-context to avoid permission errors. This activity can only be used for pages that have the approval feature (ContentStabilization) enabled. {| class="wikitable" |+ ! colspan="2" style="background-color:rgb(234, 236, 240);text-align:center;" class="..."
 
No edit summary
Tag: 2017 source edit
 
(5 intermediate revisions 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 only be used for pages that have the approval feature ([[Manual:Extension/ContentStabilization|ContentStabilization]]) enabled.
The ''SetReminder'' activity sets a reminder for a specific user and page. The date for the reminder should be in format <code>Y-m-d</code>.
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 6: Line 6:
|-
|-
| style="" |Name
| style="" |Name
| style="" |ApprovePage
| style="" |SetReminder
|-
| style="" |Async
| style="" |Yes
|-
|-
| style="" |BPMN type
| style="" |BPMN type
Line 15: Line 12:
|-
|-
|BPMN Extension Element "wf:type"
|BPMN Extension Element "wf:type"
|<code>approve_revision</code>
|<code>set_reminder</code>
|}
|}


Line 23: Line 20:
! style="background-color:rgb(234, 236, 240);text-align:center;" class="" |'''Name of property'''
! style="background-color:rgb(234, 236, 240);text-align:center;" class="" |'''Name of property'''
! style="background-color:rgb(234, 236, 240);text-align:center;" class="" |'''Description'''
! style="background-color:rgb(234, 236, 240);text-align:center;" class="" |'''Description'''
! style="background-color:rgb(234, 236, 240);text-align:center;" class="" |'''Type'''
|-
|-
| style="" |<code>comment</code>
| style="" |<code>page</code>
| style="" |The comment to be saved with the approval
| style="" |The page for which to set the reminder
| style="" |string
|-
|-
|<code>user</code>
|<code>username</code>
|User who approved the page
|User who approved the page
|int
|-
|<code>date</code>
|Date for the reminder
|-
|<code>comment</code>
|Comment for the reminder
|-
|<code>reminderID</code>
|Reminder ID
|}
|}
== Elements ==
{{#embed:https://github.com/wikimedia/mediawiki-extensions-BlueSpiceReminder/blob/master/doc/SetReminderActivity.MD}}

Latest revision as of 09:38, 11 February 2026


Description

The SetReminder activity sets a reminder for a specific user and page. The date for the reminder should be in format Y-m-d.

Short profile
Name SetReminder
BPMN type bpmn:Task
BPMN Extension Element "wf:type" set_reminder

Properties

Name of property Description
page The page for which to set the reminder
username User who approved the page
date Date for the reminder
comment Comment for the reminder
reminderID Reminder ID

Elements

# SetReminder Activity

Key: `set_reminder`
Type: automatic, no user interaction required

Example - set reminder for user WikiSysop on Main_Page for June 1st, 2022:

	<bpmn:task id="Activity_18egh9o" name="Add a reminder">
    	<bpmn:extensionElements>
			<wf:type>set_reminder</wf:type>
		</bpmn:extensionElements>
		<bpmn:property name="page" default="Main_Page"/>
		<bpmn:property name="username" default="WikiSysop"/>
		<bpmn:property name="date" default="2022-06-01"/>
		<bpmn:property name="comment" default="Just a reminder"/>
		<bpmn:property name="reminderId"/>
      <bpmn:incoming>Flow_1qh6vpl</bpmn:incoming>
      <bpmn:outgoing>Flow_0if1kyp</bpmn:outgoing>

    </bpmn:task>


## Description
This activity sets a reminder for a specific user and page.
Date for the reminder should be in format Y-m-d



PDF exclude - start

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

PDF exclude - end