[jBPM] New message: "Re: Exception Handling in node (v3.2)"
by Arnoud Wolfard
User development,
A new message was posted in the thread "Exception Handling in node (v3.2)":
http://community.jboss.org/message/520197#520197
Author : Arnoud Wolfard
Profile : http://community.jboss.org/people/awolfard
Message:
--------------------------------------------------------------
Hi Ronald,
Thanks for the reply.
I am aware that the execute is done in a transaction; that's the reason I have an async tasknode in the proces to be started.
I want to create a separate 'Generic Error Handling'-process for all processes; the exceptions I am talking about here are not Business Exceptions but real technical exceptions like 'Database is temporarly offline'.
That's why I do not want to model it in my proces.
Also if I model it in all my processes, I have to connect all nodes to the Generic Error Handling task.
Technically it is all working in my test environment but I wonder if Exception Handling like this is done before and if it feasable in production environments because I do not find much information about this topic (Exception Handling in JBPM) on the web.
Regards,
Arnoud.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/520197#520197
16 years, 3 months
[jBPM] New message: "Re: Exception Handling in node (v3.2)"
by Ronald van Kuijk
User development,
A new message was posted in the thread "Exception Handling in node (v3.2)":
http://community.jboss.org/message/520191#520191
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
Sorry, the article was about escalation, not exception.
In the execute method a transaction is active, so I would not do long running things. If you want exceptions handled on a process level, I'd model those in the process as far as possible (since they have business consequences). What you could do is move set e.g. a processvariable with the name of that specific state, move the token to an 'exception handling task' and when finishing that task, move the token back to the original node.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/520191#520191
16 years, 3 months