Rules are not fired in business process after upgrading to BPM Suite 6.4

Solution Verified - Updated -

Issue

We have a conditional flow and the condition for one of the flows is rule based (for example TypeHolder(type=="TYPE1")). After we update our installation to version 6.4 the flow rule seems to never be activated. We start our processes using commands, for example:

KieServices ks = KieServices.Factory.get();
KieContainer kc = ks.newKieClasspathContainer();
KieCommands commandsFactory = ks.getCommands();
KieSession ksession = kc.newKieSession();
List<Command> commands = Arrays.asList(
        commandsFactory.newInsert(new TypeHolder("TYPE1")),
        commandsFactory.newStartProcess("org.example.TestCondition")
);
BatchExecutionCommand batchCommand = commandsFactory.newBatchExecution(commands);
ksession.execute(batchCommand);

What could be wrong?

Environment

  • Red Hat JBoss BPM Suite 6.4

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