Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9966

Stunner - Ability to set the priority of a task as a process variable in the BC BPMN editor

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Designer
    • False
    • False
    • NEW
    • NEW

      Today there is substantial support in the Stunner BPMN editor (as well as in the legacy one) for parameter expressions dynamically resolving values using the #

      {expression}

      syntax (see picture).

      I'm surprised to see that this is not possible for the priority property of the connection coming out of a gateway (see picture).

      In real life customers very often need to prioritize process task using a calculation. Assigning priorities of possibly hundreds of tasks manually simply does not scale.

      This is in fact a nice use case for decision management. Customers have many times asked if business rules can be used to calculate task priorities just as many times they have asked the same to assign task ownerships. Often priority calculation is done with complex scorecards.

      Doing the assignment manually would require the developer to run this calculation externally to PAM and copying the result to the editor, a clearly inefficient, labor intensive and error prone activity.

      Please consider adding this capability in a future version.

      Acceptance criteria

      Goals:

      • Provide the ability to set expressions in the Priority field (properties tab), only applicable for User Tasks. Sequence flows' priorities are out from scope (runtimes doesn't support it
      • Tooltip with possible values and usage is shown next to the field
      • Serialization - Properly de/serialize and encode/decode the expression or literal value in/from the BPMN (XML) file

              jenrique@redhat.com Jaime Enriquez (Inactive)
              jenrique@redhat.com Jaime Enriquez (Inactive)
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: