cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti boundary error event

ambikakhatri
Champ in-the-making
Champ in-the-making
Hi,

  I want to use boundary error event on service task. But, if I mark it async, will that be executed thrice before catching exception?
How can we achieve this? Here is what I want to do:
  I want to try three times before giving exception to boundary catch event. I know I can do it through Java code. But, I have other async service tasks which gets executed thrice before finally marking themselves failed. Can someone help please.

Thanks,
Ambika
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Ambika,

Boundary error event catches BpmnErrors. If you want to get service executed 3 times and BpmnError should be thrown after that you have to implement and configure your own org.activiti.engine.impl.jobexecutor.FailedJobCommandFactory.

Regards
Martin