Cookie consent settingsAccept all
  • Skip to header bar
  • Skip to main navigation
  • Skip to page tools
  • Skip to work area
  • New process
  • Overview
    • Files
    • Processes
    • Ratings
    • Recommendations
    • WikiExplorer
    • Workflows
  • Login
Main navigation contains tabs, main links and MediaWiki sidebar
Entrypoints
  • Main Page
  • Pages
  • Books
  • Blogs
  • Recent changes
Quick Links
  • All topics
  • Video-Tutorials
  • Templates download
Documentation
  • Security Advisories
  • Installation
  • Releases
  • Software catalog
  • Trust & Safety
Books
  • User manual
  • Admin manual
  • Semantic MediaWiki basics
Participate
  • BlueSpice community
You are viewing an old version of this page. Return to the latest version.
This is the version of 25 October 2023, 10:43 by Redaktion
PreviousNext
  • Manual
  • Extension
    • Workflows
      • Activity
        • GroupVote
        Last edited one year ago
        by Redaktion

        GroupVote

        Revision as of 10:43, 25 October 2023 by Redaktion (talk | contribs)
        (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

        Contents

        • 1 Description
        • 2 Extension elements
          • 2.1 Example
        • 3 Properties

        Description

        The activity GroupVote is responsible for collecting necessary data about the voting of a group on a special topic. Unlike the UserVote, it is not possbile to delegate the task. A user that is part of a group can accept or decline a vote and also leave a comment that justifies their decision. The voting result is determined by whatever threshold has been reached first and ends the activity.

        Short profile
        Name GroupVote
        Async No
        BPMN type bpmn:userTask
        BPMN Extension Element "wf:type" group_vote

        Extension elements

        Name of extension element Description Type
        threshold Multiple thresholds can be defined element
        threshold/type Arbitraty identifier, to be used in the connected gateway string
        threshold/value Either absolute or relative number of users. Depends on unit. int
        threshold/unit Either user or percent. string

        Example

        <bpmn:extensionElements>
           <wf:type>group_vote</wf:type>
           <wf:threshold>
           		<wf:type>yes</wf:type>
        <wf:value>3</wf:value>
        <wf:unit>user</wf:unit>
            </wf:threshold>
            <wf:threshold>
           		<wf:type>no</wf:type>
        <wf:value>10</wf:value>
        <wf:unit>percent</wf:unit>
            </wf:threshold>
        </bpmn:extensionElements>
        
        <bpmn:outgoing>FromGroupVoteToGatewayGroupVote</bpmn:outgoing>
        

        Once one of the thresholds is reached, the activity will be completed and a <bpmn:exclusiveGateway> (referenced by <bpmn:outgoing>) will be called. It will choose its outgoing <bpmn:sequenceFlow> by mapping its name to the "type" of the threshold that has been reached.

        <bpmn:exclusiveGateway id="GatewayGroupVote">
          <bpmn:incoming>FromGroupVoteToGatewayGroupVote</bpmn:incoming>
          <bpmn:outgoing>FromGatewayUserVoteToApproveRevision</bpmn:outgoing>
          <bpmn:outgoing>FromGatewayUserVoteToSendMail</bpmn:outgoing>
        </bpmn:exclusiveGateway>
        <bpmn:sequenceFlow
            name="yes"
            id="FromGatewayGroupVoteToApproveRevision"
            sourceRef="GatewayGroupVote" 
            targetRef="ApproveRevision"
        />
        <bpmn:sequenceFlow
            name="no"
            id="FromGatewayGroupVoteToSendMail"
            sourceRef="GatewayGroupVote"
            targetRef="SendMail"
        />
        

        Properties

        Name of property Description Type
        due_date Due date for task completion date/timestamp
        assigned_group Name of the user group that should vote; can be plain grouname as used in the DB (e.g. "sysop") string
        instructions Text that is shown to the group of user, so they know what to vote about string
        users_voted Not to be set in the workflow definition. Used to store data during the activities life cycle. E.g.
        [
            { "userName": "UserA", "vote": "yes", "comment": "Good" },
            { "userName": "UserB", "vote": "no",  "comment": "Not good" }
        ]
        
        Can be accessed by follow up activitites by e.g.

        {{<GroupVoteActivityID>.0.userName}}

        string



        PDF exclude - start

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

        PDF exclude - end
        Retrieved from "https://en.wiki.bluespice.com/w/index.php?title=Manual:Extension/Workflows/Activity/GroupVote&oldid=7448"
        No categories assignedEdit
        Page actions and tools navigaiton contains tabs, toolbox and actions
        Actions
        • Refresh
        • Copy URL
        • E-Mail
        • QR code
        Details
        • View history
        • Page information
        • Browse properties
        • ... all actions
        • Privacy policy
        • Terms of service
        • Disclaimer
        • Imprint
        • Accessibility
        • About
        • Analysis service
        • Edit preview settings
        • Powered by MediaWiki
        • Powered by BlueSpice
        • Powered by Semantic MediaWiki
        • Creative Commons License