Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9826

Getting potential owners for a case task

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.59.0.Final
    • None
    • Runtime Engine
    • None
    • 2021 Week 28-30 (from Jul 12), 2021 Week 31-33 (from Aug 2)

      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?

              ftirados Francisco Javier Tirado Sarti
              ftirados Francisco Javier Tirado Sarti
              Antonio Fernandez Alhambra Antonio Fernandez Alhambra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: