[jboss-user] [jBPM] - Re: start message event node?
saig0
do-not-reply at jboss.com
Sat Oct 20 18:45:42 EDT 2012
saig0 [https://community.jboss.org/people/saig0] created the discussion
"Re: start message event node?"
To view the discussion, visit: https://community.jboss.org/message/769898#769898
--------------------------------------------------------------
Hi Cendric Hurst!
The start message event is supported in jbpm. In the jbpm-examle project ( http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.3.0.Final/jbpm-5.3.0.Final-examples.zip/download http://sourceforge.net/projects/jbpm/files/jBPM%205/jbpm-5.3.0.Final/jbpm-5.3.0.Final-examples.zip/download) are many examples of bpmn processes with junit-tests. There is one example with a start message event: +testMessageStart()+ with +BPMN2-MessageStart.bpmn2+
+
+
In this example the process has the start message event: +HelloMessage+
The process starts by calling the signal: +Message-HelloMessage+
public void testMessageStart() throws Exception {
KnowledgeBase kbase = createKnowledgeBase("BPMN2-MessageStart.bpmn2");
StatefulKnowledgeSession ksession = createKnowledgeSession(kbase);
ksession.signalEvent("Message-HelloMessage", "NewValue");
}
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/769898#769898]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121020/af7270e0/attachment-0001.html
More information about the jboss-user
mailing list