SFDO-Community/OmbudsmanCloudCare

Duplicate Family Member Record Types created on package installed

Closed this issue · 3 comments

Because we are using the ensure_record_type CCI command on the contact object, we created duplicate Family Member record types. This didn't appear in scratch orgs due to not having namespaces.

Our options are to either create an OCC Master record type that can be deleted. OR to remove one of the record types from the package. I'd recommend the OCC Master as a post install step could be to deactivate or delete.

Thoughts @mkolodner?

I'll go with your recommendation. I'm not entirely sure I actually follow what you're describing.

This is what is happening right now - two Family Member record types.
image
image

I think if we change the unmanaged one to be OCC Master, we'd be ok. Sole reason for this "master" is packages and record types have some quarks in order to add on install.

Renamed ensure record type to OCC Master and this fixed the issue. Adding how to delete in instructions.