X4 Produktdokumentation

Operation: WriteTaskDataObject

With the WriteTaskDataObject operation of the Task Management adapter, you define new contents for a specific data object of a human task.

For more information on other operations of the Task Management adapter, see Task Management.

Note:

Please note that you create a new version of the desired data object with the WriteTaskDataObject operation. In the process, you can only newly define the entire content of the data object. If you leave individual parameters of the data object empty in the adapter input, any existing field values in the new version of the data object are overwritten with empty values.

Parameters

taskUuid

✳️

This parameter is required.

UUID of the task

Note:

You can identify the UUID of a task by executing the GetAllTasks operation. For more information, see Operation: GetAllTasks.

Possible values:

Valid UUID, such as 443c498a-5868-4110-891f-42e5cb8fc24e

nameInReferenceSystem

✳️

This parameter is required.

Name of the data object

Possible values:

Any string

Status values

1

The operation was executed successfully.

-1

The operation failed due to a technical error.

Input

The adapter expects any XML input.

Output

The adapter outputs the newly created data object.