This article describes how to use the download file activity. In our case we want to connect it to the Customer Documents in our customer registry app and download the uploaded files.
Create a new workflow name it Download File and set root entity to Document.
Add the download file activity and add Document > Data > Data as in parameter to File Data. And also file name to file name
Save and create a command. And connect the command to the documents grid in the customer: details view. Command bar in grid view control