This record type Bunk cannot be deactivated because the following profiles use this record type as default.

We had a custom object which had a couple of record types and later we realized record types are not needed. Since record types are saved in profiles, I got an error shown below

In order to resolve this, we can use the link shown below ( and replace the url and id from your org )

https://myorgds.my.salesforce.com/00e8A000000QTvu/e?s=ObjectsAndTabs&o=01I8A000000EAYT

where 00e8A000000QTvu is the profile Id for system admin in my org

01I8A000000EAYT is the id for custom object where we want to change the recordtype

This approach will work for all profiles except chatter profiles

  • Chatter External User
  • Chatter Free User
  • Chatter Moderator User

You can use this another url to update the default recordtype for these profiles

https://myorgds.my.salesforce.com/setup/ui/profilerecordtypeedit.jsp?id=00e1N0000021rXI&tid=01I8A000000EAYT

where id=’profile Id’ and tid=objectid

you can update the master record type as default record type and once it is done for all profiles, you can deactivate the record type and then later delete it.

Permanent link to this article: https://salesforcebuddy.com/2020/11/this-record-type-bunk-cannot-be-deactivated-because-the-following-profiles-use-this-record-type-as-default/

Leave a Reply

Your email address will not be published.