Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-1661

Query pagination/result limiting in human task queries/commands

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 6.1.0
    • 6.0.0
    • jBPM Core
    • None

      Hi.
      Seems that org.kie.services.remote.util.Paginator should not be needed.
      Instead, it seems that raw database pagination should be utilized via JDBC and hibernate as per functionality provided in org.jbpm.shared.services.impl.JbpmServicesPersistenceManagerImpl (line 525 ).

      But to take advantage raw database pagination, it seems that there are some core jbpm human task changes to be made:

      1) org.jbpm.services.task.identity.UserGroupTaskQueryServiceDecorator

      • only one function currently allows for pagination parameters as part of the query . Seems that all of the functions should.

      2) CommandPattern classes do not accept pagination parameters. ie: GetTaskAssignedAsPotentialOwnerCommand .

      once these jbpm human task issues are addressed, it seems that the execution server can delegate pagination to the database, correct ?

      thanks! jeff

              marco.rietveld Marco Rietveld (Inactive)
              rhn-gps-jbride Jeffrey Bride
              Tomáš Livora Tomáš Livora (Inactive)
              Tomáš Livora Tomáš Livora (Inactive)
              Jeffrey Bride, Kris Verlaenen, Lukáš Petrovický (Inactive), Marco Rietveld (Inactive), Rajesh Rajasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: