(Created page with "==Description== alt=Dialog for user voting|thumb|Dialog for user voting File:Manual:wf-activity-UserVote-delegate-EN.png|a...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 31: | Line 31: | ||
|bpmn:userTask | |bpmn:userTask | ||
|} | |} | ||
==Extension elements== | |||
{| class="wikitable" | |||
|+ | |||
!'''Name of extension element''' | |||
!'''Description''' | |||
!'''Type''' | |||
|- | |||
|form | |||
|Name of a *.form page on the wiki | |||
|string | |||
|} | |||
==Properties== | ==Properties== | ||
Line 61: | Line 74: | ||
|none | |none | ||
|- | |- | ||
| | |delegate_to | ||
|UserVote | |UserVote | ||
|Name of the delegated user, that should vote instead of the specified user | |Name of the delegated user, that should vote instead of the specified user | ||
Line 67: | Line 80: | ||
|collect & display | |collect & display | ||
|- | |- | ||
| | |delegate_comment | ||
|UserVote | |UserVote | ||
|Text that is shown to the delegated user, so he knows what to vote about; visible in the UI / form | |Text that is shown to the delegated user, so he knows what to vote about; visible in the UI / form | ||
Line 106: | Line 119: | ||
|integer | |integer | ||
|collect | |collect | ||
|} | |} |
Latest revision as of 12:31, 30 October 2023
Description
The activity UserVote is responsible for collecting necessary data about the voting of a user on a special topic. The user who casts a vote has three options: accept, decline and delegate. If a user chooses "delegate", a dialog with a "UserPicker" must be provided. The chosen user must be notified and allowed to vote. The delegatee can re-delegate, but only to the primary user. A notification must be sent again. All delegation actions of the activity must be logged internally and be passed to the next activity.
Short profile | |
---|---|
Name | UserVote |
Async | No |
Input/form |
|
Associated to |
|
BPMN type | bpmn:userTask |
Extension elements
Name of extension element | Description | Type |
---|---|---|
form | Name of a *.form page on the wiki | string |
Properties
Input
Name of property | Source | Description | Type | Action |
---|---|---|---|---|
assigned_user | CollectData | Name of the user that should vote. Can be plain username (e.g. "WikiSysop") or user page ("User:WikiSysop"); Support for User-ID is not required | string | none |
instructions | CollectData | Text that is shown to the user, so he knows what to vote about; visible in the UI / form | string | display |
due_date | CollectData | Due date for task completion | date/timestamp | none |
delegate_to | UserVote | Name of the delegated user, that should vote instead of the specified user | string | collect & display |
delegate_comment | UserVote | Text that is shown to the delegated user, so he knows what to vote about; visible in the UI / form | string | collect & display |
Output
Name of property | Source | Description | Type | Action |
---|---|---|---|---|
vote | UserVote | Result of the voting (values: YES, NO) | boolean/string | collect |
comment | UserVote | Comment of the user | string | collect |
timestamp | UserVote | Timestamp of the vote | timestamp | collect |
revisionid | UserVote | Revision ID that was voted on | integer | collect |