[jboss-user] [jBPM] - Re: How to Launching Workflows from (jms) events

Mauricio Salatino do-not-reply at jboss.com
Fri Jan 21 08:35:00 EST 2011


Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: How to Launching Workflows from (jms) events"

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

--------------------------------------------------------------
Hi there. If you are willing to use the Drools Integration in jBPM5 there is clean and declarative way to do exactly what you want.
You can define a business rule that receive the events as Facts (conditions) and based on those events trigger one or multiple business processes (workflows). 
I do exactly that in the Emergency Service Application that receive an event for each Emergency that it's generated in a city and triggers a business process to deal with that Emergency.
You can check out the code in the following Git repository:
 https://github.com/Salaboy/emergency-service-drools-app https://github.com/Salaboy/emergency-service-drools-app

And read more about the application in my personal blog: 
 http://salaboy.wordpress.com/2011/01/01/emergency-service-drools-application/ http://salaboy.wordpress.com/2011/01/01/emergency-service-drools-application/

Greetings

PS: this application was created in just two weeks so we are still refactoring it to show best practicies.. but there is a lot of things to improve.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20110121/d0360c49/attachment-0001.html 


More information about the jboss-user mailing list