pp108 : AssignTask

AssignTask

 


This method is used by the work list manager, team manager, or any user who has the NotificationAdmin role, to assign a task to a user.

SOAP Request

<AssignTask xmlns="http://schemas.cordys.com/notification/workflow/1.0">
    <TaskId>{8043CBD8-8F0F-41E5-A0EC-08B61730F977}</TaskId>
    <AssignedTo>cn=JDoe,cn=organizational users,o=system,cn=cordys,cn=John,o=vanenburg.com</AssignedTo>
    <Priority>3</Priority>
    <DueDate>2008-01-24T16:46:33.219</DueDate>
</AssignTask>
Request Parameters

Parameter

Description

Data Type

Accepted Input Values

TaskId

Unique identifier of the task

   

AssignTo

DN of the user to whom the task is to be assigned

 

Priority

Priority of the task between 1 to 5

Integer

The default priority is 3.

DueDate

Date by which the task must be completed

 

This must be in the Process Platform Date Format in the UTC timescale. For example: 2008-01-24T16:46:33.219

SOAP Response

<AssignTaskResponse>
    <State>ASSIGNED</State>
    <Assignee displayName="Jack" email="" phone1="" phone2="">cn=Jack,cn=organizational users,o=system,cn=cordys,o=vanenburg.com</Assignee>
</AssignTaskResponse>
Response Parameters

Parameter

Description

State

Indicates the current state of the task, that is, ASSIGNED state

Assignee

Returns the DN of the user who assigned this task