Francesco Pietrobelli [http://community.jboss.org/people/francesco.pietrobelli] 
created the discussion

"Conditional start event's data output"

To view the discussion, visit: http://community.jboss.org/message/608504#608504

--------------------------------------------------------------
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/showImage/2-608504-16460/output.jpg
  
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?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/608504#608504]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to