You need to sign in to do that
Don't have an account?
KevSnell
Trigger - Campaign Update All Campaign Members Field
Hi All,
I'm trying to find a solution for the following:
When the Campaign is set to Active it updates a custom field (CampaignField__c) in all Campaign Members for that Campaign.
I can't seem to find any examples when it comes to triggers with Campaigns.
I think the logic is:
- After Update
- Query CampaignMembers
- If Campaign ISActive = True
- Then CampaignField__c on CampaignMembers = True
Thanks
Kev
Ok I have my code to this point:
However, I'm stuck on how do I add the statement IF > Campaign.Active = True