If your place of work is closing, but your employer will continue to run the business out of other workplaces, they have to offer you other suitable roles available in other parts of the business. This is called a “redeployment obligation”. This usually only applies to permanent staff.
If the number of staff eligible for redeployment is the same or less than the jobs available, you can be confirmed into the new role without a selection process. The role has to be comparable or a suitable alternative.
If there are more permanent staff than suitable alternative jobs, your employer has to follow a transparent selection process to decide who gets the roles. This process should be communicated clearly and allow enough time for you to consult with someone outside of the organisation about the process.