Handling Error in Event subprocess thrown from another event subprocess

I have service tasks ServiceTask1 and ServiceTask2. If some valid business error occurs in ServiceTask1, i was throwing BPMNError via JavaDelegate and thus caught by error start event in the event subprocess.

There’s another event subprocess which has timer based start event followed by UpdateStatus service task, in which if business error occurs i was throwing BPMNError via JavaDelegate.

BPMNError thrown from one interrupting event subprocess can be caught and handled in another interrupting event supbrocess?

I think that i have found the solution for this problem from couple of @Niall posts.

1 Like

Indeed - you can throw an error event from one event sub process and have it caught be another.

1 Like