The DOWNLOAD_FILE action is used to download a file from the Perceptive Content repository into the Hyland Platform repository.
Use this action when a workflow needs to retrieve a document from Perceptive Content for review, processing, distribution, or integration with other systems. The downloaded content can be referenced by subsequent process steps and used by forms, connectors, and workflow activities.
During the operation, the document is identified using the document identifier and the specified page is located. The file content is then retrieved from Perceptive Content, the content of which is copied into the Hyland repository. Finally, a reference to the downloaded content is returned. The downloaded file can then be used by other connector actions, forms, workflow tasks, or integrations.
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 from the Perceptive Content repository will be downloaded into this content object. |
| documentId | String | Required | The identifier of the document from which the file will be downloaded. |
| pageId | String | Required | The identifier of the document page from which the file will be downloaded. |
The output parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| content | Content | Optional | A SysFile (or inherited) reference to the document stored in the Hyland repository that contains the downloaded file. |