You are here:
Insurance Apex Triggers
Depending on how you use Insurance, you might need to perform additional tasks after installation, such as creating and modifying Custom Settings.
- Learn About Apex Triggers
A trigger is Apex code that runs before or after a specific data manipulation language (DML) event occurs, such as before the insertion or after the deletion of records in a database. Salesforce stores triggers as metadata. By modifying Salesforce custom settings, you can enable and disable Insurance Apex triggers as required by your implementation. - Enabling and Disabling Vlocity Apex Triggers
You can use Salesforce Custom Settings to enable or disable Vlocity Apex triggers. - Apex Triggers for Insurance
A trigger is Apex code that runs before or after a specific data manipulation language (DML) event occurs, such as before the insertion or after the deletion of records in a database. Salesforce stores triggers as metadata. By modifying Salesforce custom settings, you can enable and disable Insurance Apex triggers as required by your implementation. - Creating the InsuranceProduct Trigger Insurance Configuration Custom Setting
In addition to the InsuranceProductTrigger, you also need to enable an Insurance Configuration Setup Custom Setting to turn on the trigger. - Creating the PolicyAsset Trigger Insurance Configuration Custom Settings
The PolicyAsset trigger supports the automatic creation of the policyholder relationship in a contact center use case. This trigger uses Insurance Configuration Custom Settings rather than a Trigger Setup Custom Setting to turn it on or off.

