Community
Showing results for 
Search instead for 
Do you mean 
Reply

Completing an Activity and having it show up as History

Copper Super Contributor
Posts: 88
Country: USA

Completing an Activity and having it show up as History

I've struggled with how to programmatically complete an Activity and have it end up as a History entry.

 

I've tried the .IsCleared = True for an Activity, but that does not seem to work. This is for an Activity with 1 User and 1 Contact assigned to it.

 

Any suggestions?

Bronze Elite Contributor
Posts: 2,115
Country: United_Kingdom

Re: Completing an Activity and having it show up as History

Hi,

 

Try the ActivityManager.ClearActivity(Activity, CalendarDelegateGrantor, HistoryType, Boolean, Date, Date, String) overload that should do it.

 

 

Vivek Gargav
Caldere Associates Ltd.
www.caldere.com
vgargav@caldere.com
My Blog