look here http://community.jboss.org/thread/161306
Another solution is to embed it in embedded sub process.
inside you have parameters: error handle.
click on it and add one call it MyError
choose java code and you can write there handling the error. for example:
inside the embedded sub process you can create error event and call it MyError
Hope this helps
Thanks Odelya, but that post was started by me.
And in that one we discussed how to handle java errors and how to create new workitems.
This time, I am focussing specifically on the "Error Event" item.
This item has in its properties "Fault Name", "FaultVariable" but I can't really undestand how I can link it to a Human Taks, for example....
In BPMN you can link error events to a Task, like in this link: http://en.bpmn-community.org/process/show/909/
My question is how am I abel to do the same in jBPM5?
When you stand on the BPMN file you have there Exception Handlers.
you can do what I described in the first step.