Export (0) Print
Expand All

Task Entity Capabilities

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

This entity represents a generic activity representing work needed to be done.

The class for this entity is task. For tasks, you can use the messages listed in the following table with the Execute method.

MessageDescription
CreateUse this message to create a task.

The information that is used to create the entity instance is specified in the TargetCreateTask class.

You can also call the Create method.

DeleteUse this message to delete a task.

The entity instance to delete is specified in the TargetDeleteTask class.

You can also call the Delete method.

HandleUse this message to handle a task that is in a queue.

The entity instance to retrieve is specified in the TargetQueuedTask class.

RetrieveUse this message to retrieve a task.

The entity instance to retrieve is specified in the TargetRetrieveTask class.

You can also call the Retrieve method.

RetrieveMultipleUse this message to retrieve a collection of tasks.

The query expression that describes the entity instances to retrieve is specified in the Query property of this request.

You can also call the RetrieveMultiple method.

RetrievePrincipalAccessUse this message to retrieve the access that the specified security principal (user or team) has to a task.

The entity instance to retrieve is specified in the TargetOwnedTask class.

RouteUse this message to route a task to a queue.

The entity instance to retrieve is specified in the TargetQueuedTask class.

SetStateDynamicEntityUse this message to set the state of a task using a DynamicEntity instance.

The possible states are defined in the TaskState enumeration.

SetStateTaskUse this message to set the state of a task.

The possible states are defined in the TaskState enumeration.

UpdateUse this message to update a task.

The entity instance to update is specified in the TargetUpdateTask class.

You can also use the Update method.


See Also

Concepts

Other Resources


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2015 Microsoft