function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Admin User 1137Admin User 1137 

I need to update a custom object with the Campaign Member records whenever a campaign member is inserted or updated.

I need to update a custom object with the Campaign Member records whenever a campaign member is inserted or updated. A Campaign Member can be either a Lead type or  Contact type. After a Campaign Member which is of  type Lead is inserted to the Custom Object, if that corresponding Lead is getting converted, then the Campaign Member type changes to Contact, but my Custom Object is not getting updated. Im stuck here.
Can anyone guide me through this issue ?
Manmohan SinghManmohan Singh
Hi Please share your code to look inot