[jboss-user] [jBPM] - Re: How to create a simple waiting workflow

Maciej Swiderski do-not-reply at jboss.com
Sat Feb 4 13:52:56 EST 2012


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: How to create a simple waiting workflow"

To view the discussion, visit: https://community.jboss.org/message/714451#714451

--------------------------------------------------------------
In my opinion the most sutiable node in BPMN2 for state node from jBPM v4 would be catch intermediateSignalEvent which will wait for an external signal, that should be done either through process instance or session that contains the process instance.

Exanle of BPMN2 file you can find  https://github.com/droolsjbpm/jbpm/blob/master/jbpm-examples/src/main/resources/junit/BPMN2-IntermediateCatchEventSignal.bpmn2 here and sample code that operates on this can be found in testIntermediateCatchEventSignal() method  https://github.com/droolsjbpm/jbpm/blob/9f57fbfa2c3f519a127727cbbde06c4eb06e02be/jbpm-examples/src/main/java/org/jbpm/examples/junit/BPMN2JUnitTests.java here

HTH
--------------------------------------------------------------

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

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/20120204/8ee23e3d/attachment-0001.html 


More information about the jboss-user mailing list