I am using a service task component to call an external REST endpoint. The external service at takes time (around 50-55 seconds) to respond and by that time Bonita Service task times out. The default timeout of Bonita service task component seems to be around 30 seconds.
How can I increase the time out of Bonita Service Task?
Please have a look to the performance tuning documentation page. This page includes also additional information on how to configure default timeouts in Bonita
Another, and probably cleaner and scalable option for services that could take longer than 30 sec, would be to do an asynchronous call to your service. Since Bonita 7.8 there is a new REST API sendMessage that allows an external service to callback Bonita in a asychronous manner when the processing is done.
Hope it helps