The Local File Copy Plugin allows customers to save a copy of files attached within a request to a local or network folder.
To configure the Local File Copy plugin select it from the Task options and drag it to your process canvas.
Select Configuration > Configure Task to access the window below:
A path must be configured for each of the files you want to save. Attachments you do not wish to save should be left blank which will cause the system to bypass that question.
The system will automatically assume the file extension of the original uploaded file. To preserve save the copied file with the same name as the original uploaded attachment simply end your folder path with a '\'. (for example d:\folder\)
You can also use dynamic names with the Local File Copy. To configure a dynamic mapping in the folder or file naming structure you would initially add it to the save path segregated by doubly curly braces. (For example D:\Folder\{{Variable}} would use the Variable in the name of the file itself while D:\Folder\{{Variable}}\ would instead create a dynamic folder using the Variable and then preserve the original attachment name when saving the copied file.)
Click 'Save'.
If dynamic folders are names are desired you must complete configuring by clicking on the "Configure Mappings" button. To add a mapping click on the "Add Mapping" icon.
Variables should be entered in this screen without the double curly brackets '{{}}'. You can then map your form or other request related data element. Click 'Save' to return to the Inbound Mappings screen.
Multiple variables are acceptable. Once you have finished adding them, click 'Close' to return to the configuration screen.
Configuration and Troubleshooting Notes:
For our training example for this plugin we will use a process designed to gather certification documentation from employees. In this process users upload their documents, after which the Local File Copy plugin will copy the attachments to the network drive and save them with the employees last name.
The configuration for this example is as follows:
When the request is completed the requester will see the original attachment uploaded as well as the location where the file was saved for reference (if optional setting is checked).
Likewise, the file is now available within the local folder or network drive.