Skip to main content

Please review below error which we are getting while creating 'Business' contact in Salesforce.

 

We are NOT using any feature of HealthCloud, it is just present in the org.

Tried to uninstall but we have many existing records in RecordTypes created by HealthCloud. So, first we have to update recordtype and then uninstall package (will take quite a lot of time)

Contact creation giving error because of HealthCloudGA dependency

 

HealthCloud version: 244.0

 

Things I tried in Custom metadata/Custom settings of HealthCloud: 

  • Use Standard Trigger - deactivate all
  • Individual Record Type Mapper - only default one exists
  • Health Cloud Settings - deactivate all contact related settings.
  • Update all custom settings of HealthCloud and deactivate as much.

Review the errors on this page.

  • HealthCloudGA.AccountContactRelationTrigger: execution of BeforeInsert caused by: line 16, column 39: Dependent class is invalid and needs recompilation: Class HealthCloudGA.HcAccountContactRelationTriggerHandler : Dependent class is invalid and needs recompilation: Class HealthCloudGA.HC : Dependent class is invalid and needs recompilation: Class HealthCloudGA.HcLeadService : Dependent class is invalid and needs recompilation: Class HealthCloudGA.ERMLeadService : Field is not writeable: ContactEncounterParticipant.ContactId

 

For now, we would like to create contact record without having to uninstall pacakge:

 

Thank you.

1 réponse
  1. 23 sept. 2023, 02:12

     Try this-:

     Setup>Apex classes>recompile all classes .