Community
Showing results for 
Search instead for 
Do you mean 
Reply

DeleteActivityComplete

Copper Super Contributor
Posts: 71
Country: Canada

DeleteActivityComplete

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:

 

ActApp.ActFramework.Activities.ActivityContactsAsContactList(activity, Nothing)

 

but since I only have a activitykey in the delete event I am not sure what to do. Any ideas?

Employee
Posts: 1,163
Country: USA

Re: DeleteActivityComplete

You could use GetActivityByIDStrings to get the activity and then GetActivityContactsFromDB to retrieve the contacts associated with that activity.

Matthew Wood
Act! SDK Support
Community Moderator
Copper Super Contributor
Posts: 71
Country: Canada

Re: DeleteActivityComplete

I think that GetActivityByIDStrings is only on ACT! for web, i cannot seem to access it. ANy other ideas to pull a contact list from the deletedactivity?