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, 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