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
|
- Submit / Cancel button
- Voting button (approve/decline)
- Textfield for comments
- Link for delegating the task
- Userpicker
- Textfield for comments
|
Associated to
|
- ApprovalWorkflows
- FeedbackWorkflows
|
BPMN type
|
bpmn:userTask
|
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
|
delegated_user
|
UserVote
|
Name of the delegated user, that should vote instead of the specified user
|
string
|
collect & display
|
delegated_instructions
|
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
|
Extension elements
Name of extension element
|
Description
|
Type
|
form
|
Name of a *.form page on the wiki
|
string
|