The advanced utilities workflow component, Retry-repeat can help you, if you have a workflow component, that sometimes fail. You can use this to retry a subtree of workflow components until no error occurred, 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.
Example
The workflow below will be repeated 3 times (since the template, mytemplate.ift does not exist):
Since the last component is the one, that fails the workflow above will create 3 PDF files (which might overwrite each other).