File Processing Rules
Last updated
Last updated
File Processing Rules related to the Actor are managed in the Connection Contracts tab → File Processing Rule option.
Here, you can both view the File Processing Rules already associated with the selected Actor and create new Rules by following these steps:
Click the NEW FILE PROCESSING RULE button.
In the New file processing rule window, fill in these fields:
Name and Description of the rule.
File pattern: specify to which files the File Processing Rule will be assigned. By default: . (all files).
File resources: refer to the section for details.
Virtual boxes: select one of the listed Virtual Boxes or create a new one by clicking View All > New VirtualBox.
Set the file processing rule as default (optional) to apply it to all paths when selected for the Contract. Remember! You must configure at least one of these two options: File Resource or Virtual Box!
When done, click Confirm to save. The newly created rule will be added to the list of Rules.
Whenever a File Processing Rule is needed, it must be associated with the Virtual Path to be used. Therefore, the File Pattern can be used to filter the files where the File Processing Rules will be applied, or it can be left generic, and the File Processing Rules will be applied to each file within the Virtual Path.
You can set the File Processing Rule as default by checking the box at the top of the window.
To better describe the usage guidelines for File Processing Rules, these are some sample Use Cases:
Receiving a file through SFTP with saving in Data One in DATA format Configuration of File Resource:
mime remote = text/plain
charset local = 819
mime local = text/plain (or null)
charset local = 819 (or null)
Data One receives a file through PR4 with PGP encrypted saved in PRIMEUR Data One Configuration of File Resource:
secure remote = NONE
secure local = PGP
Data One receives an uncompressed file through PR4, with compressed saving in PRIMEUR Data One Configuration of File Resource:
compression type remote = null
compression type local = SPZIP
Data One receives a compressed file through PR4, with compressed save in PRIMEUR Data One Configuration of File Resource:
compression type remote = SPZIP
compression type local = SPZIP
Data One has an uncompressed file and sends it compressed through PR4 Configuration of File Resource:
compression type remote = null
compression type remote = SPZIP