MarketingCycleUserProcess
API name: CTPHARMA__MarketingCycleUser__c
| Context | Method | Codename | Description |
|---|---|---|---|
After Insert[ai] |
manageTargetFrequency(false) |
manageTF |
If the association between a user and a marketing cycle is not active (CTPHARMA__Active__c field value is False), the Target Frequencies linked to this user is deactivated. |
After Update[au] |
manageTargetFrequency(false) |
manageTF |
If the CTPHARMA__Active__c field value was changed for a marketing cycle user from True to False, meaning that the association between the user and the marketing cycle is deactivated, the Target Frequencies related to this user are also deactivated. |
After Delete[ad] |
manageTargetFrequency(true) |
manageTF |
If the association between a user and a marketing cycle was deleted, Target Frequencies related to this user would also be deactivated. |