processRecords - added alerts