This adapter forms the interface to the "Case Management" functionality of the product component X4 BPM. The adapter enables, for example, the setting and reading of case data such as case status or characteristics of the case data model.
Properties
|
|
Operation executed by the adapter Possible values:
|
Parameter
|
|
Main class of the adapter (do not change!) Possible values: en.softproject.x4.server.bmn.casemanagement.adapter.CaseManagementAdapter: Main class (default) |
|
|
ID of the operation to be processed Possible values:
|
|
|
Repository path to a Business Process in which the corresponding operation is defined. Possible values:
|
|
|
User ID of the owner of an operation Possible values:
|
|
|
Version of the data format used Possible values:
|
Status values
|
|
The operation was executed successfully. |
|
|
The operation was executed but no result was found or no data was changed. |
|
|
The operation could not be executed. |
Input
The adapter expects a predefined XML structure as input. The structure depends on the operation used.
If the attribute "type" is not specified for setFeature / setFeatures, the data type is "String". The other possible data types of the "Case Management" functionality correspond to those of the types there.
-
SetFeature-Operation:XML<?xml version="1.0" encoding="UTF-8" ?> <Name>Max</Name>
-
SetFeatures-Operation:XML<?xml version="1.0" encoding="UTF-8" ?> <Features> <Name type="String">Max</Name> <Lastname type="String">Mustermann</Lastname> <Date type="DateTime">2018-09-27T00:00:00.000+00:00</Date> <IsCustomer type="Boolean">true</IsCustomer> <Amount type="Decimal">111.25</Amount> <InternalNumber type="Integer">45</InternalNumber> </Features>
-
SetState-Operation:XML<?xml version="1.0" encoding="UTF-8" ?> <State>NEW</State>
Output
Depending on the operation, the adapter outputs data in different XML structures:
-
GetFeatures-OperationXML<?xml version="1.0" encoding="UTF-8" ?> <Features> <Name>Max</Name> <Lastname>Mustermann</Lastname> <Address>Musterweg 1</Address> </Features>
-
GetStates-OperationXML<?xml version="1.0" encoding="UTF-8" ?> <CaseStates> <State>NEW</State> <State>DONE</State> </CaseStates>
-
GetInformationoperationXML<?xml version="1.0" encoding="UTF-8" ?> <Information> <Case creator="x4" created="2018-12-14T16:39:48.100+01:00"> <Comments /> <Features> <Name>Max</Name> <Lastname>Mustermann</Lastname> <Address>Musterweg 1</Address> </Features> <State>NEW</State> <ProcessInstanceId>18644c02-42dc-47a8-8f7f-5c70de823d54</ProcessInstanceId> </Case> <PossibleCaseStates> <State>NEW</State> <State>DONE</State> </PossibleCaseStates> </Information>