X4 Produktdokumentation

Operation: Create

With the Create operation of the Data Object Persistence adapter, you create a new data object in the database.

For more information on other operations of the Data Object Persistence adapter, see Data Object Persistence Adapter.

Parameters

Note:

The xPath parameter is not relevant for this operation.

caseId

✳️

This parameter is required.

ID of the process instance of the Business Process in which the data structure of the data objects is defined.

Possible values:

UUID of the process or %CASE_ID% system parameter

retentionTime

Time after which expired data objects are deleted (specified in days).

Note:

If you do not specify this parameter, the default value of 90 days is used.

Possible values:

Number in days, e.g. 100

Status values

1

The operation was executed successfully.

-1

The operation failed due to a technical error.

Input

The adapter expects a valid XML document as input.

Output

The adapter creates the desired data object in the database.