UserTask

public class UserTask

The UserTask object provides general information about the current User task.
The UserTask object can be accessed using the RegisterCallback function of the ProcessInstance object.

 Properties

Access via the RegisterCallback function of the ProcessInstance object:

Guid GuId

The unique identifier of the task

int FormId

The Id of the form that is assigned to the task

ReadOnlyCollection<User> Participants

The participants in the user task

UserTaskPriority InitialTaskPriority

No usable result


Direct access via the UserTask object:

Guid GuId

No usable result

int FormId

No usable result

ReadOnlyCollection<User> Participants

No usable result

UserTaskPriority InitialTaskPriority

The priority the task has when generated. Default: None

Example

This example sets the initial task priority to low.

UserTask.InitialTaskPriority = UserTask.Priority.Low