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

workbench Tasks List priority colors are inconsistent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Final
    • jBPM 6.5.0.Final
    • Workbench
    • None
    • NEW
    • NEW
      • Import the attached bp1.bpmn2 in workbench
      • Edit actorId of Tasks if needed. It uses "bpmsAdmin,john".
      • Start the process
      • View Tasks in "Tasks List" View
    • 2017 Week 26-27

      Workbench "Tasks List" view renders rows with yellow background colors depending on task's priority when it's "Ready" or "InProgress". It has 2 inconsistent points:

      1. Only '1' - '5' priorities are rendered.

      2. '1' is the lightest yellow and '5' is the darkest yellow. It looks opposite to the priority definition in WS-HumanTask.

       
      priority: This element is used to specify the priority of the task. It is an
      optional element which value is an integer expression. If not present, the
      priority of the task is unspecified. 0 is the highest priority, larger numbers
      identify lower priorities.
      

      Please see the attached TasksList.png

      Possible solution:
      Render tasks with '0' to '10' priorities. '0' is the darkest yellow and '10' is the lightest yellow. For priority larger than '10' , use the same color as '10'. I choose '10' because it is the largest value in "Task Details" priority select-box.

        1. bp1.bpmn2
          98 kB
        2. TasksList.png
          TasksList.png
          118 kB

            nmirasch@redhat.com Neus Miras Chueca
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: