Rules execution from BusinessRulesTask much slower than in test case

Solution In Progress - Updated -

Issue

We have a kjar with a large number of rules. In our junit test, we are inserting all required facts, and get a result in ~1 minute. This is ok from a performance perspective, given the high complexity of our rules.

But when executing the same rules, with the same set of input parameters, inside a BusinessRulesTask from within a jBPM process, the server is running into a transaction timeout after 5 minutes, before the rules execution has finished. Why is it taking so long to execute the same rules with the same facts in the context of jBPM?

Environment

  • Red Hat JBoss BPM Suite
    • 6.4
  • Red Hat Process Automation Manager (RHPAM)
    • 7.0

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.