Hello everybody,
Does anyone have an example of a process, started by a start conditional event, a little bit more complex than the examples provided with the source code of jBPM5.1CR1 (jbpm5.1CR1/jbpm-5.1.0.CR1-src/jbpm-bpmn2)?
My scope is to set a property of the process from a fact in WorkingMemory by a conditional start event' data output.
I have same rule like:
rule "start process"
when
#something
then
insert(new StartProcess())
end
a java class for StartProcess:
public class StartProcess{
String personId;
//other field
//getter and setter
}
process definition that starts like:
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-608504-16460/279-71/output.jpg
How can i set the personId or the StartProcess instance as a property of the process?