TaskProcess

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


API name in Salesforce: TaskProcess


Context Method Codename Description

after insert

afterInsert

ai

Create a CT CPG Activity record according to the parent Task _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

Reserved.

before update

Reserved.

before delete

beforeDelete

bd

Delete the related records of the Activity Sync functionality.

``