PerformTaskAction |
This method is used to perform an action on the task.
SOAP Request
<PerformTaskAction xmlns="http://schemas.cordys.com/notification/workflow/1.0">
<TaskId>{7F806D59-D288-4C4D-975F-52B7BF42DBAC}</TaskId>
<Action>START</Action>
<Memo>Sample Memo</Memo>
<Data/>
</PerformTaskAction>
Request Parameters
Parameter |
Description |
Data Type |
Accepted Input Values |
|---|---|---|---|
TaskId |
Unique identifier of the Task |
||
Action |
Contains the action that can be performed on the task. |
The following are the list of actions:
|
|
Data |
Contains the data that will be sent as output to the next action state. |
||
Memo |
Memo that has to be sent |
The actual content in the memo. |
SOAP Response
<PerformTaskActionResponse xmlns="http://schemas.cordys.com/notification/workflow/1.0">
<State>INPROGRESS</State>
<LastModified>2011-05-06T06:41:51.55</LastModified>
<PageFlowTaskId>001CC438-8F47-11E2-FB19-B3FE4C217F9E</PageFlowTaskId>
<PossibleActions>
<STOP/>
<COMPLETE/>
<PAUSE/>
<SKIP/>
<SUSPEND/>
<DELEGATE/>
<FORWARD/>
<TRANSFER/>
<REVOKECLAIM/>
<EXECUTE/>
<VIEW/>
</PossibleActions>
</PerformTaskActionResponse>
Response Parameters
Parameter |
Description |
|---|---|
State |
Contains the current state of the task. |
| LastModified | Last Modified date and time of that task. |
PageFlowTaskId (optional field) |
Contains the page flow task ID. This element is displayed only if only for the page flow tasks. |
PossibleActions |
Contains the list of actions that are possible for the task. The list is populated based on the state of the task.For example,
|