How to add Timer Boundary event on the Service task?

Hi team,
I am a new to the camunda.
I am trying to put Timer Boundary event on the Service Task. The service task has Implementation in Java Delegate. But that did not work. But thanks to this thread (Timer Boundary Event not called), I found out why it is not working.

So what is the solution to get around this problem. I want make sure the service task does not keeps executing for more than 1 minute. I have attached the image bellow.

Thanks in advance.

Hi @nick.g,

if you switch the implementation to external and put your implementation in an external task worker, you can use the timer boundary event.

Have a look at External Tasks | for general information and External Task Client | for implementation specific information.

BTW, what is the likelihood of a timeout in your use case?

Hope this helps, Ingo

Thanks for the help.

The timeout is going to be around 2 minutes.