The advanced utilities workflow component, Retry-repeat, can help if you have a workflow component that sometimes fails (for example, due to network connection issues). You can use this to retry a subtree of workflow components until no error occurs, but it will fail when it has tried a specified number of times.
The Retry-repeat component has these parameters:

- Retries
The maximum number of retries do execute. - Retry delay
The delay between each retry. The delay is specified as a number of seconds.
Both parameters can of course not only be a constant, but can also be set via an XPath expression.
Note:
The Retries attribute specifies the number of retries beyond the original attempt (i.e., the maximum number of attempts is Retries + 1)- The maximum allowed number of retries is 10. This value can be modified by setting the property workflow.retry.limit in application-default.properties.
- The maximum allowed delay is 60 seconds. This value can be modified by setting the property workflow.retry.maxDelay in application-default.properties.