Newer Version Available
TaskWhoRelation
Represents the relationship
between a task and a lead or contacts.
This object is available in API version 29.0 and later.
This derived object is a filtered version of the TaskRelation object; that is, IsParent is true and IsWhat is false. It doesn’t represent relationships to accounts, opportunities, or other objects.
TaskWhoRelation allows a variable number of relationships: one lead or up to 50 contacts. Available only if you’ve enabled Shared Activities for your organization.
Supported Calls
describeSObjects(), query(), retrieve()
Fields
| Field Name | Details |
|---|---|
| RelationId |
|
| TaskId |
|
| Type |
|
Usage
- Apex example that queries contacts associated with a task
-