Setting a Retry Policy
You can set retry policies on a per-process basis. The policies determine how workflow failures are handled. Depending on the delay and number of attempts, the workflow is retried after specified intervals.
To set a retry policy, add the following lines to your process entity:
<retry policy=[retry policy] delay=[retry delay]attempts=[attempts]/> <retry policy="$policy" delay="minutes($n)" attempts="$n"/>
For example:
<process name ="[sample-process]"> ... <retry policy="periodic" delay="minutes(10)" attempts="3"/> ... </process>
In this example, the workflow is retried after 10 minutes, 20 minutes, and 30 minutes.