Symptoms
When I export big data volumes, in 30 seconds I get an error.
Cause
The cause of the timeout error, when exporting big volumes of data or big number of nested queries, is the Ext.Ajax component, whose standard timeout is 30 seconds.
The server request waits for this exact time, and if the file is not generated, the client declines waiting.
Solution
The possible solution might be extending the timeout period in the bpm'online "core" (...\Terrasoft.WebApp\Resources\ui\Terrasoft\core\). The ajax-provider.js file in the "request: function(config) { …" function, add the following code strings:
Ext.Ajax.timeout = 90000; Ext.override(Ext.data.proxy.Server, { timeout: Ext.Ajax.timeout }); Ext.override(Ext.data.Connection, { timeout: Ext.Ajax.timeout });
If a permission error occurs, increase the number of list records in the web config: