Views:
Question:
How can I change the count of retry attempts of failed tasks?

Answer:
This value can be only adjusted for local DocuWare installations.
To do this, open the installation directory of the Background Process Service (Standard: C:\Program Files\DocuWare\Background Process Service). 

Here you will find the following two config files:
DocuWare.BackgroundProcessService.LongLiving.GenericProcess.exe.config
DocuWare.BackgroundProcessService.LongLiving.GenericProcess.x86.exe.config

There is the following entry:
<! - Number of retries of failed operations in workflows (mainly system activities) ->
<add key = "MaximumErrorRetries" value = "5" />


The default value is 5. This means that after the first failed attempt, 5 further attempts will be made - a total of 6 attempts that you are observing.
You can also adjust the time that is waited between attempts here so that a total of 12 minutes does not pass:
<! - Timespan of the delay of the retries ->
<add key = "RetryDelay" value = "00:02:00" />


Adjust the values ​​in both files according to your requirements and then restart the Background Process Service so that the changes are loaded. This adjustment then applies to all activities that could result in an error.

Important:
These changes can only be made in a local DocuWare installation. These values ​​cannot be changed in the cloud system.