I'm familiar with throwing BPMNError from code and catching handling them in a workflow. We just we're hoping there was some other why to tie into the process instance, on the server side when we start one, to get notified when the process dies/ends. If even without the cause so we can notify the owner so they can look into it.
I realize that runtime exceptions (not BPMNErrors (busniess process)) errors shouldn't occur, but they do happen. I know my customer will be upset when these such instances happen, because we'll have no way (that I can find anyway) to let them know when it happens.
Is there possibly a different angle I could take on this? I can't see a way to inject a handler in code to get this sort of functionality. Other than constantly polling all of the should be running instances (which I'm sure we won't be able to do due to the size of the system and userbase), I don't see a way to do this.
Any help you could give us would be grately appreciated. We've been struggling on this one for a while.
Thanks again.