You need to sign in to do that
Don't have an account?
Guyver118
Trying to update campaign member if he/she buys something?
Hi i have setup an opportunity trigger that automatically adds a opportunity to a campaign only if there is is an active campaign and is determined from the opp lead source. Now what i want to do is to update the campaign member which i can only see a contact relationship any pointers?
You'll need to use contact roles on teh opportunity as that will close the loop. You'll then need some logic to figure out which campaign's members to update (primary campaign source members?).
The oppty trigger can then find the contact roles, and query for the campaign members for those contacts where campaign = desiredCampaign.