cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase the database timeout in Activiti?

zlatan316
Champ on-the-rise
Champ on-the-rise
Hi,

I'm connecting to a MS Project Server Report via an Activiti Service Task, and because of the time taken to run it, I get a connection reset error in Activiti. I was wondering if there was a way to increase the timeout to the Activiti DB so I can allocate more time to open connections?

Regards
3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

DB transaction timeout is DB property.
I would suggest to use asynchronous processing for your case.

Regards
Martin

zlatan316
Champ on-the-rise
Champ on-the-rise
Currently enabling the Service Task to Async does not resolve this issue. I was hoping to simply increase the timeout parameter so we can allow more time for the connection to remain open?

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

Making Service task asynchronous does not solve the issue. I would propose to use something like messaging for your problem.
Service task will initiate report generation and when report is ready reporting system sends a message on which process instance will wait.

Regards
Martin
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.