The ADD_DOCUMENT_KEYWORDS action is used to add keywords (metadata) to an OnBase file.
Use this action to classify documents, enrich document metadata, and improve document search and retrieval capabilities. Keywords can be added after document creation and can be used to associate business information such as invoice numbers, customer identifiers, case numbers, or department information with a document.
The action locates the specified document in OnBase using the document identifier and adds the provided keyword values to the document. During the operation: the target document is identified, the supplied keyword values are validated, the keywords are added to the document metadata, and the updated keyword information is returned. The resulting metadata can then be used by OnBase search, retrieval, and document management functions.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| documentId | String | Required | The identifier of the OnBase document that will receive the keywords. |
| keywords | JSON | Required | The keywords (metadata) to add to the specified document. |
The output parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| documentKeywords | JSON | Optional | The keywords associated with the document after the operation completes. |