How to run rules in custom WorkItemHandler?

Solution In Progress - Updated -

Issue

There is business process and rules in my kjar.
We want to run rules within custom WorkItemHandler instead of rule task by using another KieSession which is different from the one running the process.
How can I get new KieSession instead of current one running the process?

Environment

  • Red Hat Process Automation Manager
    • 7.1

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