To configure retry, you can create a Post Processing Activity where you can run your Data Flow again for retry.(If you need it to run after sometime, you can queue it toa Queue Processor)
If there is any save operation and for some reason there is some DB connectivity issue at that time, Pega will retry to save them. The number of times Pega retries is configured in DSS dataflow/shape/maxRetries.