10-15-2013 09:55 AM
I want to use the DeleteActivityComplete event to get a contact list of all the contacts that the deleted activity was scheduled for. In the ActivityComplete event it passes in an IActivity however in the DeleteActivityComplete event it seems to pass in a activity key as system.guid. How would I use that to get the contacts associated with the activity, for the Activity complete I would just use:
but since I only have a activitykey in the delete event I am not sure what to do. Any ideas?
10-18-2013 06:29 AM
You could use GetActivityByIDStrings to get the activity and then GetActivityContactsFromDB to retrieve the contacts associated with that activity.