JBossUserGroupCallbackImpl in BPMS 6 does not allow the use of comma "," in Group Id

Solution Verified - Updated -

Issue

  • BPMS 6 and jBPM6 overall allows the use of comma "," in Group Id, if used with the use of the org.jbpm.ht.user.separator system property. Where users need to specify the special character which would be used by jBPM6 task service for separating multiple group ids (other than the default character of ",") . However, if users are testing the same feature with JBossUserGroupCallbackImpl and where user's Group ID contains a comma "," , jBPM6 cannot process the User Task.
    e.g. User can set the properties for defining group ids for a user like this.
        ...
        properties.setProperty("john", "johngg");
        properties.setProperty("mary", "maryg,g");
        ...
        UserGroupCallback userGroupCallback = new JBossUserGroupCallbackImpl(properties);
        ...

Additionally, even if the user set the org.jbpm.ht.user.separator property to specify the group id separator , jBPM6 does not display the User Task (assigned to maryg,g Group Id) to mary who should be able to see/claim/complete the task.

        System.setProperty("org.jbpm.ht.user.separator", "#");
  • Is this a bug? Is there a way to workaround it?

Environment

  • Red Hat JBoss BPM Suite (BPMS)
    • 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.