[CAM-8577] I can sort list of audit log in case instance Created: 11/Dec/17  Updated: 05/Mar/18  Resolved: 05/Jan/18

Status: Closed
Project: camunda BPM
Component/s: cockpit
Affects Version/s: None
Fix Version/s: 7.9.0, 7.9.0-alpha1

Type: Feature Request Priority: L3 - Default
Reporter: Fabian Hinsenkamp Assignee: Michael Schoettes
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: Not Specified
Original Estimate: 0 minutes


 Description   

AT:

  • sortable columns: Activity, Start Time, End Time, Activity Instance ID
  • default sorting: Start Time desc


 Comments   
Comment by Smirnov Roman [ 05/Jan/18 ]

Note:

  1. When a case activity instance does not have an activity name then the activity id is shown in Cockpit.
  2. To sort by Activity the sortBy parameter caseActivityName is used.

If there are two case activity instances:

  • id=1, activityId="foo", activityName="" (there is no activity name defined)
  • id=2, activityId="bar", activityName="Bar"

When the audit log is ordered by the activity in ascending order, then the table will look like this

------------

Activity ...
------------
foo ...
------------
Bar ...
------------

The problem is that in that case the activity instances without a name are on top. This looks a bit weird.

Anyway, I decided still to order by name assuming that in the most cases a case activity has a name.

Generated at Mon Jun 17 13:20:26 CEST 2019 using JIRA 6.4.6#64021-sha1:33e5b454af4594f54560ac233c30a6e00459507e.