Add [Last invited date] record in [Visitors] detail Management console
Add [Last visited date] record in [Visitors] detail Management console
Update the [Purge visitors] logic in [Visitor management settings] page, based on [Last invited date]/ [Modified date]/ [Created date] and related visiting appointment Management console