Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3778

Getting potential owners for a case task

    XMLWordPrintable

Details

    Description

      running endpoint to receive tasks of potential owner from specific case is not returning any information.
      Running the same endpoint with the actual potential owner works as expected.

      Is expected that running the endpoint with admin user and bypass enabled would return the tasks of potential owner.

      Maybe relevant:

      jbpm-case-mgmt/jbpm-case-mgmt-impl/src/main/java/org/jbpm/casemgmt/impl/CaseRuntimeDataServiceImpl.java
      637:9:        params.put("groupIds", getAuthenticatedUserRoles(identityProvider));
      650:9:        params.put("groupIds", getAuthenticatedUserRoles(identityProvider));
      662:9:        params.put("groupIds", getAuthenticatedUserRoles(identityProvider));
      
      jbpm-services/jbpm-kie-services/src/main/java/org/jbpm/kie/services/impl/RuntimeDataServiceImpl.java
      838:9:        params.put("groupIds", getCallbackUserRoles(userGroupCallback, userId));
      851:9:        params.put("groupIds", mergeLists(groupIds, getCallbackUserRoles(userGroupCallback, userId)));
      862:9:        params.put("groupIds", mergeLists(groupIds, getCallbackUserRoles(userGroupCallback, userId)));
      874:9:        params.put("groupIds", getCallbackUserRoles(userGroupCallback, userId));
      974:9:        params.put("groupIds", getCallbackUserRoles(userGroupCallback, userId));
      

      Should CaseRuntimeDataServiceImpl use getCallbackUserRoles instead of getAuthenticatedUserRoles as RuntimeDataServiceImpl?

      Attachments

        Issue Links

          Activity

            People

              ftirados Francisco Javier Tirado Sarti
              afanjula@redhat.com Alberto Fanjul Alonso
              Antonio Fernandez Alhambra Antonio Fernandez Alhambra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: