The UPDATE_DOCUMENT_METADATA action is used to update metadata values of a document within the Nuxeo repository.
Use this action to modify document properties, synchronize repository metadata with business data, correct metadata values, and maintain accurate document classification and search results.
The action locates the specified document and updates the supplied metadata values. Updated metadata can be used by repository searches, workflow routing, reporting, and downstream integrations.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| documentId | String | Optional | The identifier of a document in the Nuxeo repository. |
| documentPath | String | Optional | The path of a document in the Nuxeo repository. |
| metadata | JSON | Required | The document metadata values to update in the Nuxeo repository. |
Note: Either documentId or
documentPath must be provided. If both values are supplied,
both are accepted by the connector.
The output parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| documentMetadata | String | Optional | The updated document metadata returned from the Nuxeo repository. |