Bpmn error details after been catch by ErrorBoundaryEvent ?

cancel
Showing results for 
Search instead for 
Did you mean: 
tdu
Member II

Bpmn error details after been catch by ErrorBoundaryEvent ?

Hi,

I have an asynchronous process like this :

Tasks 1 and 2 can throw exception with some details (like fields validation errors)

How can I get the details of the error caught by the error boundaries in the "Do something with errors" task ?   

Thanks

2 Replies
bassam_al-saror
Alfresco Employee

Re: Bpmn error details after been catch by ErrorBoundaryEvent ?

Can't Task 1 and Task 2 pass extra error information as variables before throwing exception?

klaasdeboer
Customer

Re: Bpmn error details after been catch by ErrorBoundaryEvent ?

We also want to access the message that is thrown by the BPMNError. We catch the BPMNError using an boundary error event. But we are unsure how to get the to the content of that error in a scripttask.