[jboss-user] [jBPM] - Re: jBPM 5: how to remove or change a completed task?

Daniel Hernáez do-not-reply at jboss.com
Tue Oct 23 05:51:46 EDT 2012


Daniel Hernáez [https://community.jboss.org/people/herna] created the discussion

"Re: jBPM 5: how to remove or change a completed task?"

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

--------------------------------------------------------------
Hello  https://community.jboss.org/people/swiderski.maciej Maciej, thanks for your response.

I have jbpm core embed in my web application and I am interacting with human task service remotely. My problem is basicaly about transactionality, I use Hibernate to manage transactions into my web application but I can't control the task service transactions because it's the up to task service to take care of it. So my problem is that I am not controlling the global transacionality, and if one exception is thrown in one of the operations I make over my invoice object, I can't tell task service not to commit the task (and not to change task from 'Created' to 'Completed' for example)

So as you said to Thomas, I guess there are two options: keep using task service remotely with JMS and make it local. Is there any preferable option?

I don't have experience with JMS and I remember I couldn't made it work as a local service in the past, based on the documentation examples. I am using jBPM 5.2 and don't know if there is any significantly improving in 5.3 version that can help me. Should I try to upgrade?

I also took a quick look to exception handling but I don't know if this could help in this case. What do you think?


Thank you very much.
--------------------------------------------------------------

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

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/20121023/6e67bd75/attachment-0001.html 


More information about the jboss-user mailing list