Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-14436

Sorting on Workflow custom process variables.

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Resolution: Won't Fix
    • Affects Version/s: 4.2.4
    • Fix Version/s: None
    • Component/s: Workflow
    • Environment:
      4.2.4 Activiti
    • Bug Priority:
      Category 4
    • ACT Numbers:

      00435481 Premier

    • Premier Customer:
      Yes

      Description

      Sorting is allowed when querying the workflow API

      http://localhost:8080/alfresco/api/-default-/public/workflow/versions/1/processes?orderBy=variables/[variable_name]

      as described in

      http://dev.alfresco.com/resource/docs/java/org/alfresco/service/cmr/workflow/WorkflowTaskQuery.OrderBy.html

      but seems that the list of variables that allow sorting is hardcoded on Activiti:

      ActivitiWOrkflowEngine.java
      on the method
      private void orderQuery(TaskQuery taskQuery, OrderBy[] orderBy)

      I have the requirement from a customer to allow sorting on custom variables.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                asolerasenci Antonio Soler-Asenci [X] (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 5 minutes
                  1h 5m

                    Structure Helper Panel