EventProcess

The EventProcess trigger is responsible for the CT CPG Activity records management if there is an active Activity Sync setting with an Event object.


API name in Salesforce: EventProcess


Context Method Codename Description

after insert

afterInsert

ai

Create a CT CPG Activity record according to the parent Event record and the Activity Sync setting.

Fields to update:

  • CTCPG__AccountId__c

  • CTCPG__ContactId__c

  • OwnerId

  • CTCPG__StartDate__c

  • CTCPG__EndDate__c

  • fields specified in the CTCPG__FieldValues__c

after update

afterUpdate

au

Update a CT CPG Activity record after changing the value in the CTCPG__ActivityDte__c field of the parent Event record.

Fields to update:

  • CTCPG__AccountId__c

  • CTCPG__ContactId__c

  • OwnerId

  • CTCPG__StartDate__c

  • CTCPG__EndDate__c

  • fields specified in the CTCPG__FieldValues__c

after delete

Reserved.

before insert

beforeInsert

bi

Compile the list of CT CPG Activity fields before record inserting.

before update

Reserved.

before delete

beforeDelete

bd

Delete the related records of the Activity Sync functionality.

``