With the GetTask operation of the Task Management adapter, you return a task for the logged-in user.
For more information on other operations of the Task Management adapter, see Task Management.
Parameters
|
|
This parameter is optional. If the parameter is not set, all tasks are output. Page size for retrieving the task list Possible values: Any number |
|
|
This parameter is optional. If the parameter is not set, all tasks are output. Offset for retrieving the task list Possible values: Any number |
|
|
This parameter is required. State filter for retrieving the task list Possible values:
|
|
|
UUID of the task Note: You can identify the UUID of a task by executing the Possible values: Valid UUID, such as |
|
|
User to be used for debugging when there is no login in X4 Web Apps Possible values: Valid user login, e.g. |
|
|
Version of the data format used Possible values:
|
Status values
|
|
The operation was executed successfully. |
|
|
The operation failed due to a technical error. |
Input
The adapter does not expect any specific input.
Output
The adapter issues an XML document with the following structure as output:
<?xml version="1.0" encoding="UTF-8"?>
<Task created="2020-12-21T09:10:53Z" creator="System"
id="81f4abb5-c2f5-418e-acf5-654304234bf4">
<Title>humantask</Title>
<Owner>admin</Owner>
<Assignment type="USER">admin</Assignment>
<State>OPEN</State>
<KeyIdentifier/>
<CaseId>00860a8a-12b9-45b8-b271-ec5d42573c59</CaseId>
<Actions>
<Action displayName="done" name="Accepted"/>
<Action displayName="Declined" name="Declined"/>
</Actions>
<DecliningAllowed>false</DecliningAllowed>
<ForwardingAllowed>false</ForwardingAllowed>
<Comments/>
<BusinessData>
<Company>Max Mustermann Inc.</Lastname>
<MarketValue>100 Mio. €</MarketValue>
<Offer>150 Mio. €</Offer>
</BusinessData>
</Task>