Local File Copy Plugin

The Local File Copy Plugin allows customers to save a copy of files attached within a request to a local or network folder.

Note: The Local File Copy Plugin is only available to OnPremise and private cloud customers.

Plugin Configuration

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:

THE FOLLOWING CONFIGURATIONS ARE REQUIRED TO USE THE LOCAL FILE COPY PLUGIN:

SELECT QUESTIONS TAB:
HERE YOU WILL SEE A LIST OF ALL ATTACHMENT QUESTIONS THAT ARE ELIGIBLE TO BE SAVED THROUGH THE LOCAL FILE COPY PLUGIN.  THIS WILL INCLUDE QUESTIONS FROM ANY OF THE FOLLOWING QUESTION AND TASK TYPES:

  • FILE ATTACHMENT QUESTIONS FROM FORM TASKS
  • MULTIFILE ATTACHMENT QUESTIONS FROM FORM TASKS (NOTE: COPIES SAVED FROM MULTIFILE ATTACHMENT QUESTIONS WILL INCLUDE AN UNDERSCORE AND SEQUENTIAL NUMBER APPENDED TO THE FILE NAME.  FOR EXAMPLE RESUME_1.DOC, RESUME_2.DOC.)
  • FILE UPLOAD MAPPINGS FROM DEVELOPER FORM TASKS
  • PDF MERGE TASKS
  • PDF GENERATOR TASKS

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'.

 

SETTINGS TAB:

YES/NO CHECK BOX.  THE SETTINGS TAB ALLOWS THE ADMINISTRATOR TO DETERMINE WHETHER THEY WANT THE PATH TO SHOW IN THE REQUEST SUMMARY.

Click 'Save'.

 

CONFIGURE MAPPINGS:

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.

Be sure to click 'Save' on this screen before selecting 'Close'.


Configuration and Troubleshooting Notes:

  • Illegal Characters - You should not use / ? < > \ : * | " ^ or any character typed with the control key as these can cause Windows errors or task failure.
  • File Name Limitations - It is strongly advised that you avoid, or rename, long file names to prevent directory problems or task failure due to file name limitations.
  • Windows Restrictions - File saving and folder creation on Windows - especially on networks - introduces variables that are beyond Integrify's control. Check to be sure you have access to the save path using the command line terminal.
  • Failed Tasks - If you are experiencing failed tasks, but your files seem to be saving correctly, go to the 'Settings' tab and uncheck 'Show new file path in request summary?'.  Also ensure that the Local File Copy task comes AFTER the task(s) in which attachments are added to the request in the process workflow.
  • Completed Tasks, No Files Saved - The plugin will still show as Completed and your workflow will continue if path information is incorrect or empty. This could also be the case with other Windows failures that do not produce adequate notifications.
  • Duplicate File Names - If the file already exists in the local file destination it will be overwritten each time the Local File Copy task executes

Training Example

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:

SELECT QUESTIONS:

 

CONFIGURE MAPPINGS:

 

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.

 

Comments

Powered by Zendesk