Vinay, Mihir | Adding insert chunking history row based on pre-condition