The Download file task downloads a binary file from an external location using the HTTPS protocol and updates content within the repository.
Use this task when a process needs to retrieve a file from an external system and store or update it within the repository.
During execution the task executes the DOWNLOAD_FILE action. The specified URL is accessed using the HTTPS protocol. The binary file is downloaded from the external location and then used to update the specified repository content object. The updated content object is returned for use in subsequent workflow activities.
The input parameters of the task are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| targetContent | Array<content>, Content | Required | Specifies the content object in the repository to update with the downloaded binary content. If multiple content instances are provided, only the first instance is updated. |
| url | String | Required | Valid HTTPS URL from which the binary content will be downloaded. |
The output parameters of the task are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| content | Content | Optional | The content object containing the updated binary content. |