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

UnsupportedOperationException when TaskService.getTasksAssignedAsPotentialOwner(String userId, List<String> groupIds, String language, int firstResult, int maxResults)

XMLWordPrintable

      This bug was initially created as a clone of Bug #1103970 but the main issue of BZ1103970 is just related to BPMS 6.0.x and not to BPMS 6.1.x.

      This BZ is cloned to focus on the Marco's comment below for BPMS 6.1.x.

      — Additional comment from Marco Rietveld on 2014-09-29 23:10:24 EDT —

      Here are the current issues:

      1. The "getTasksAssignedAsPotentialOwnerByStatusByGroup" method is a InternalTaskService method, not a TaskService method. The Remote Java API (kie-remote-client) supplies a TaskService implementation, not a InternalTaskService method.

      (In short, at the moment, there's no way to call this method.)

      2. On the other hand, the method is paged and, as you mention, it's the only method where the user can submit a list of group ids as a parameter to retrieve tasks.

      I'm currently leaning towards promoting/refactoring the "getTasksAssignedAsPotentialOwnerByStatusByGroup" method from the InternalTaskService interface to the TaskService implementation.

      One other possibility is to provide access to the new query functionality that's been added to the InternalTaskService in the Remote Java API. This functionality supports the new REST query operations.

            marco.rietveld Marco Rietveld (Inactive)
            rhn-support-tkobayas Toshiya Kobayashi
            Ivo Bek Ivo Bek
            Ivo Bek Ivo Bek
            Alessandro Lazarotti, Kris Verlaenen, Marco Rietveld (Inactive), Marek Baluch, Rajesh Rajasekaran, Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: