ActivityParty in Email Message

 An activity party represents a person or group associated with an activity. An activity can have multiple activity parties.




Activity Party Types

There are 11 activity party types in Dynamics 365 Customer Engagement (on-premises). The activity party type is stored as an integer value in the ActivityParty.ParticipationTypeMask attribute. The following table lists the different activity party types, the corresponding integer value for the ActivityParty.ParticipationTypeMask attribute, and the description.


Activity party typeValueDescription
Sender1Specifies the sender.
ToRecipient2Specifies the recipient in the To field.
CCRecipient3Specifies the recipient in the Cc field.
BccRecipient4Specifies the recipient in the Bcc field.
RequiredAttendee5Specifies a required attendee.
OptionalAttendee6Specifies an optional attendee.
Organizer7Specifies the activity organizer.
Regarding8Specifies the regarding item.
Owner9Specifies the activity owner.
Resource10Specifies a resource.
Customer11Specifies a customer.

Activity Party Types available for each activity

Not all activity party types are available for each activity in Dynamics 365 Customer Engagement (on-premises), except for a custom activity. A custom activity supports all activity party types. You can associate an activity party type for an activity by using the respective attribute of an activity. For example, to associate an Organizer activity party type with an appointment activity, you must specify a value or an array of values of the ActivityParty type in the Appointment.Organizer attribute.

To control which email address should be used for sending emails to the activity party, or for replying to emails from the activity party, set the ActivityParty.AddressUsed attribute.

The following table lists the activity party types that are supported for each activity, and the corresponding activity properties to specify those activity party types.


Activity entity nameSupported activity party typeActivity attribute
AppointmentOptionalAttendee
Organizer
RequiredAttendee
Appointment.OptionalAttendees
Appointment.Organizer
Appointment.RequiredAttendees
CampaignActivitySenderCampaignActivity.Partners
CampaignActivity.From
CampaignResponseCustomerCampaignResponse.Customer
CampaignResponse.Partner
CampaignResponse.From
EmailBccRecipient
CcRecipient
Sender
ToRecipient
Email.Bcc
Email.Cc
Email.From
Email.To
FaxSender
ToRecipient
Fax.From
Fax.To
LetterBccRecipient
Sender
ToRecipient
Letter.Bcc
Letter.From
Letter.To
PhoneCallSender
ToRecipient
PhoneCall.From
PhoneCall.To
RecurringAppointmentMasterOptionalAttendee
Organizer
RequiredAttendee
RecurringAppointmentMaster.OptionalAttendees
RecurringAppointmentMaster.Organizer
RecurringAppointmentMaster.RequiredAttendees
ServiceAppointmentCustomer
Resource
ServiceAppointment.Customers
ServiceAppointment.Resources

No comments:

Post a Comment