Creating a custom expiration policy for the record