Skip to main content

Triggers on objects

Table 233, “Triggers installed on objects below lists all of the triggers on objects that Komodo Care Connect installs out of the box. The triggers allow the objects to be used with the trigger dispatcher framework that is configured via the following global Apex classes:

Table 233. Triggers installed on objects

Trigger

Object

PJN_Account

Account

PJN_CarePlanProblemTrigger

HealthCloudGA__CarePlanProblem__c

PJN_CarePlanUpdatePlatformEvent

PJN_Care_Plan_Update__e

PJN_Case

Case

PJN_ContactInformation

PJN_Contact_Information__c

PJN_ContactPointTypeConsent

PJN_Contact_Point_Type_Consent__c

PJN_ContentDocumentLink

ContentDocumentLink

PJN_ContentNote

ContentDocument

PJN_CoverageInvestigation

PJN_Coverage_Investigation__c

PJN_Event

PJN_Event__c

PJN_FulfillmentRequest

PJN_Fulfillment_Request__c

PJN_FulfillmentRequestDetail

PJN_Fulfillment_Request_Detail__c

PJN_MemberPlan

PJN_Member_Plan__c

PJN_PatientPrescription

PJN_Prescription__c

PJN_ProgramEvent

PJN_Program_Event__e

PJN_Task

Task



Create new trigger

If an object that you need is not listed above, you can create a new trigger on the object with the following:

trigger MyObject on MyObject__c(before insert, after insert, before update, after update, before delete, after delete, after undelete) {
    new PJN_TriggerDispatcher().addTriggerHandlerSettingRecords().dispatch();
}