AnsweredAssumed Answered

Retry an email task

Question asked by himanshu.agarwal on Nov 17, 2016
Latest reply on Feb 27, 2017 by gdharley
Hi Team,

I have a requirement where I have an email task and I want it to retry for 5 times until it throws some exception (may be due to some network issue). If after 5 times also, we get an exception than continue the flow as it was supposed to.

I have a sprint boot app with activiti dependency

So, can you pls answer below queries
1. how can I change the default retry count from 3 to 5?
2. how can I get number of retries remaining for a particular job in email executor (Java Delegate)

If I am able to get crack both these conditions than I can append try catch in email task and on reaching the threshold, I can catch the exception and continue the flow.

Outcomes