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