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