DelegateTask |
This method is used to delegate a task to another user.
SOAP Request
<DelegateTask xmlns="http://schemas.cordys.com/notification/workflow/1.0"> <TaskId>{E06DC4C7-E96E-47A2-9A45-42E00E1E9B3B}</TaskId> <TransferOwnership>false</TransferOwnership> <SendTo> <UserDN>cn=JDoe,cn=organizational users,o=system,cn=cordys,cn=D1161,o=vanenburg.com</UserDN> </SendTo> <Memo>Actual Contents of the Memo</Memo> <DueDate>2008-01-24T16:46:33.219</DueDate> </DelegateTask>
Request Parameters
Parameter |
Description |
Data Type |
Accepted Input Values |
---|---|---|---|
TaskId |
Unique identifier of the task |
String |
This ID can be retrieved using the GetTasks API. |
TransferOwnership |
Refers to the ownership of the task |
boolean |
If TransferOwnership is set to:
|
UserDN |
DN of the user to whom the task is delegated |
Note: The user and the owner of the task must belong to the same work list. |
|
Memo |
Contains the contents in the memo |
Usually, the reason for delegating the task is provided here. |
|
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
<DelegateTaskResponse xmlns="http://schemas.cordys.com/notification/workflow/1.0"/>
Note: The DelegateTaskResponse is returned empty, indicating that the task is successfully delegated.