[jboss-user] [jBPM] - Re: jBPM noob questions

Mauricio Salatino do-not-reply at jboss.com
Fri Jun 28 08:24:18 EDT 2013


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

"Re: jBPM noob questions"

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

--------------------------------------------------------------
Hi Viktor,
As you mention in your question, you will need to use Custom Service Node types for doing interactions. Try to avoid using script nodes. Custom Service Nodes are implemented creating new implementations of the WorkItemHandler interface. Those implementations will interact with your external systems. If those interactions are Syncrhonous, jBPM will behave in the same way that your old framework does. 
Regarding the operations with the DB which seems to be transactional, it depends on how do you want to do it. If you start a transaction against your DB inside a workItemHandler and then write the logic to see if everything else went right and commit that transaction, everythhing should work. Notice that for what you describe, you don't need to persist your "Flows" because all what you need is to execute the steps and commit or rollback the information to another external database.

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

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

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/20130628/3b8662ae/attachment.html 


More information about the jboss-user mailing list