[jboss-user] [jBPM] - Re: jbpm 5.0 web application sample.?

Mauricio Salatino do-not-reply at jboss.com
Thu Jan 20 18:53:08 EST 2011

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

"Re: jbpm 5.0 web application sample.?"

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

Hi there.. the method that calls the process depends on the specific application. In the Emergency Service application I've create a Helper class (specific for this domain) that is in charge of interacting with the Drools session that host the business process. 
If you take a look at the class called EmergencyService:  https://github.com/Salaboy/emergency-service-drools-app/blob/master/emergency-service-app/src/main/java/com/wordpress/salaboy/EmergencyService.java https://github.com/Salaboy/emergency-service-drools-app/blob/master/emergency-service-app/src/main/java/com/wordpress/salaboy/EmergencyService.java you will find that is the one that signalEvents, insert new emergencies, etc. For this application I've modeled the startProcess Inside a business rule that for each emergency that it's inserted in the KnowledgeSession a new business process is started. This way of modeling the situation gives me the flexibility to start multiple things when an emergency happen (for example I can start multiple processes to do parallel things when an emergency happen).
I didn't understand the note about the repository is down, do you mean that github is down? I was working on the app and in other projects today and seems to work correctly. Can you share the URL of the repository that it's not working?

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110120/61c94161/attachment.html 

More information about the jboss-user mailing list