Commiting after adding alert to the assignment of batches