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.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.