continue to modify processBatch to process by transactionId or batchId