Redundant calls to UserGroupCallback methods cause performance problems in BPMS 6

Solution Unverified - Updated -

Issue

We have implemented a custom UserGroupCallback which interacts with our organization LDAP server.

We have observed that task operations are very slow, due to the custom UserGroupCallback's existsGroup, existsUser and getGroupsForUser methods getting called redundantly:

  • Start Process (while user task node is executed)
    • existsUser is called 4 times
      *existsGroup is called 1 time
  • Start Task
    • existsUser is called 6 times
    • getGroups is called 7 time
  • Complete Task
    • existsUser is called 2 times
    • getGroups is called 3 time

Why does the jbpm engine invoke the callback methods multiple times?

Environment

  • Red Hat JBoss BPM Suite
    • 6.0.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content