Created page with "==Description== alt=Dialog for user voting|thumb|Dialog for user voting alt=Dialog for delegating|thumb|Dialog for delegating 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 "UserP..." |
No edit summary |
||
| Line 1: | Line 1: | ||
==Description== | ==Description== | ||
[[File:Manual | [[File:Manual-wf-activity-UserVote-dialog-EN.png|alt=Dialog for user voting|thumb|Dialog for user voting]] | ||
[[File:Manual | [[File:Manual-wf-activity-UserVote-delegate-EN.png|alt=Dialog for delegating|thumb|Dialog for delegating]] | ||
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. | 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. | ||
{| class="wikitable" | {| class="wikitable" | ||
Revision as of 11:04, 9 November 2026
SkySapphire
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 |