You can rely on TransactionNumber. It initializes with 1 so in your Main.xaml ->Process Transaction state → Try Catch Finally section you can add your Write Cell activity to write the status like this "Z"+TransactionNumber+1
Use Add Data Column in input DataTable for Status and RetryCount, update values after each transaction using row index, finally write updated DataTable back to same Excel sheet.
That’s right. To avoid this, instead of starting from the failed row, let the execution start from the first row but before start processing the transaction, add a if activity to check if the Status column is empty. If empty then only process the transaction else continue to next transaction.
Use a unique ID for each transaction (TransactionID column in Excel). Before processing, check if the row was already processed (Status = Success). After each transaction, update the Status and Retry in the DataTable. Write back the DataTable to Excel after each transaction so reruns pick up from the next unprocessed row.
This way, even if TransactionNumber starts from 1 again, the bot skips already processed items.