-
1. How to Launching Workflows from (jms) events
salaboy21 Jan 21, 2011 8:34 AM (in response to bwallis42)1 of 1 people found this helpfulHi 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
And read more about the application in my personal blog:
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.
-
2. How to Launching Workflows from (jms) events
krisverlaenen Jan 25, 2011 8:01 PM (in response to bwallis42)Other than using a business rule to trigger the executing of a process, you could use a start message or a start constraint event, which means that your start event will define upon which message or constraint it should be started.
Kris
-
3. How to Launch Workflows from (jms) events
bwallis42 Jan 26, 2011 10:54 PM (in response to krisverlaenen)Hi Kris,
You've lost me. What is a start message or start constraint event?
thanks.