The UPLOAD_DOCUMENT_REVISION action is used to upload a version of a document within OnBase.
Use this action to maintain document version history by uploading an updated file while preserving the original document record. This is useful when documents are revised during approval processes, contract negotiations, reviews, or other document lifecycle activities.
The action uploads the specified file to OnBase and associates it with an existing document as a new revision. During the revision process, the source file is retrieved from the Hyland repository, the existing OnBase document is identified using the document identifier, the uploaded file is stored as a new revision of that document, then OnBase assigns a revision identifier and maintains the document revision history, and the revision identifier is returned to the process.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| content | Content | Required | The file stored in the Hyland repository that will be uploaded as a new revision of an existing OnBase document. |
| documentId | String | Required | The identifier of the existing OnBase document that will receive the new revision. |
The output parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| revisionId | String | Optional | The identifier of the newly created document revision in OnBase. |