I execute a business rule from a process on Jbpm, the rule is simple:
package com.test.flow;
rule "sample"
ruleflow-group "test"
when
then
System.out.println("Hello World");
end
But, I don't no why, this rule execute only once, for instance, I run a new instance of the process and in the jbpm console print "Hello World", but, when I run a second instance of the process doesn print anymore "Hello World", some one can you help me? or tellme why does this happen?
RuntimeEngine engine = RemoteRuntimeEngineFactory.newRestBuilder().addUrl(baseUrl)...to obtain a new KieSession withengine.getKieSession()and start the process, if I do that from jbpm-console web, run a new instance occur the same. - Daniel Alvarez