The DOWNLOAD_FILE action is used to download a file from the Nuxeo repository.
Use this action when a workflow needs to retrieve a document from Nuxeo for review, processing, distribution, or integration with other systems. The action retrieves binary content from a Nuxeo document and copies it into the specified content object. The downloaded content can be referenced by subsequent process steps and used by forms, connectors, and workflow activities.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| content | Content | Required | A SysFile (or inherited) reference to an existing document in the Hyland repository. The file retrieved from the Nuxeo repository will be downloaded into this content object. |
| documentId | String | Optional | The identifier of a document in the Nuxeo repository. |
| documentPath | String | Optional | The repository path of a document 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 |
|---|---|---|---|
| content | Content | Optional | The content object with the downloaded binary content. The returned value references the updated content stored in the Hyland repository. |