REMOVED visit requests - ministryofjustice/prison-visits-2 GitHub Wiki
When an establishment is removed or deactivated from the service, and there are existing outstanding requests, we create orphaned requests.
These stay in the service unprocessed and overtime expire. Data is removed from the requests as part of the automated data removal process (see https://github.com/ministryofjustice/prison-visits-2/wiki/Removing-old-personal-information), but the request itself remains.
You may see in the staff UI visit requests that have REMOVED in key data fields (see below).
As data has been removed, we are unable to manually reject these requests and they will stay in the UI unless we clear the requests at the database level.
Clearing the requests
A script needs to be created to 'withdraw' these requests - see example: https://github.com/ministryofjustice/prison-visits-2/pull/3637