Comando
Repeat
Repeat
Exemplos
// Retry de item em Foreach (máx. 3 tentativas):
DbQuery($q, 'SELECT Id FROM Pedidos')
Foreach ($q) {
Try {
ProcessarPedido($q.$Id)
}
Catch {
If ($q.Repeats < 3) {
Sleep(2000)
Repeat
}
Else {
Output('Falhou após 3 tentativas: ' + $q.$Id)
}
}
}