[jboss-user] [jBPM] - Re: Need help with JBPM Process coding

Mauricio Salatino do-not-reply at jboss.com
Fri Oct 7 14:30:14 EDT 2011


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

"Re: Need help with JBPM Process coding"

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

--------------------------------------------------------------
Hi Raul, 
sorry for not answering you quickly.Your questions are a little bit generic, but are ok.
1) no, you don't need to learn drools to use jBPM, you need to clearly define what you need to do and make your that your requirements are clear. If you are thinking to use rules inside of your processes then you need to learn Drools.

2) You need to learn drools and jbpm if you want to do that. Using Ruleflow Groups is one option of many. It really depends what are you trying to solve. Did you check the documentation in drools.org and jbpm.org?

3) You can create your web application and then use the jBPM apis to interact with the engine. You will also need to use the human task component apis to retrieve the human tasks. jBPM is like every other framework that you want to use, so you will need to know how to use it first and then how to embed it inside your application. It is a common requirement. 

4) writing java code inside XML files is usually a bad practice, I recommend you to not do that. Inside jBPM5 you have the concept of WorkItem that will allow you to hook classes to the process flow very easy and don't write code inside the XML file. 

Based on your described scenario I didn't understand the business process that you need to model, it looks like a couple of rules inside some decision nodes, but I can't figured out what happens in the middle. I strongly recommend you to define a clear business process and then we can help you to write rules to check different conditions if you really need that. If you have purely decisions based on some values, sometime expressions are enough.

Cheers
--------------------------------------------------------------

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

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/20111007/0829c946/attachment.html 


More information about the jboss-user mailing list