SetStateTask Message

banner art

Sets the state of a task.

The relevant classes are specified in the following table.

Type Class
Request SetStateTaskRequest
Response SetStateTaskResponse
Entity task


The possible states are defined in the TaskState enumeration. To perform this action, the caller access rights on the entity instance specified in the request class. For a list of required privileges, see SetState Privileges.

This message updates the task fields statuscode and statecode.


For an example of how to use this message, see SetStateAccount.

Related Topics

CrmService Messages


© 2007 Microsoft Corporation. All rights reserved.