activityparty

The activityparties in Microsoft Dynamics 365 act as many-to-many relationships between activities and other objects in the system. For example, rather than only allowing the association of one contact or one system user with an activity, Dynamics 365 allows contacts and users to be associated with many different activities.

An activityparty is always associated with a specific field on a specific activity object. The activitytypecode field specifies which kind of activity and the activityfieldname is set to the name of the field.

Valid activity objects and fields can be seen by viewing the picklists on the activitytypecode and activityfieldname fields.

Object Fields
appointment optionalattendees, organizer, requiredattendees
campaignactivity from, partners
campaignresponse customer, from, partners
email to, from, cc, bcc
fax to, from
letter to, from, cc, bcc
phonecall to, from
serviceappointment customers, resources

You can insert and delete activityparties, but you cannot update them. Microsoft Dynamics 365 activityparties mainly serve as a many-to-many association, so there is very little data to update.

Note: ActivityParty migration in Bulk mode with multiple threads is not supported. Use only one thread or an error is generated.

Create an association by setting the values for activityid, partyid, and partyobjecttypecode in the activityparty object. To set these values, you can use:

Note: The activityfieldname field has replaced the participationtypemask field. Although the participationtypemask field is available, it is for reference only and cannot be edited.

See also

Using The Adapter Objects