You are here

reassignTask

public Task reassignTask(Task task, Person assignee) reassign the task from the owner to the assignee.
Attention: This method was introduced in SDK version 1.3.

Parameters

Task task
The task to be reassigned.

Returns

Returns the reassigned Task object.

Exception

Throws an SkyVaultServiceException if the operation cannot be completed.

Example


Person assignee = alfsession.getServiceRegistry().getPersonService().getPerson(getUsername(CONSUMER));
Task reassignedTask = workflowService.reassignTask(unClaimedTask, assignee);