I have a record type that has been deprecated. I'd like to drop the table from the database and rename the record type to start with DEPRECATED; then disable data sync and disconnect the table. However this record will become invalid and fail to deploy. What's the best practice?
Discussion posts and replies are publicly visible
What I usually do is transform it into a service backed Record Type with an empty recordDataSource. You mark it as deprecated, deploy it everywhere. You can then drop the tables. Once all that is done, you can go ahead and remove the Record in all your environments.