Generate message from record if it is not present.