Manual:Extension/Workflows/Activity/UserVote: Difference between revisions

No edit summary
Tag: 2017 source edit
No edit summary
 
Line 74: Line 74:
|none
|none
|-
|-
|delegated_user
|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 80: Line 80:
|collect & display
|collect & display
|-
|-
|delegated_instructions
|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

Latest revision as of 12:31, 30 October 2023

Description

Dialog for user voting
Dialog for user voting
Dialog for delegating
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.

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

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




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