CopyFiles
The CopyFile action allows you to copy a file into or out of the vault, with the option to rename it using configuration-specific variables:
The file name and location can be configured here:
Using the variable concatenation operator:
The option " Replace the file if the document already exists" allows you to replace the document if a file with the same name already exists in the destination directory; if this option is not checked, the copy will not be performed, and the task will not fail:
The option " Replace special characters with the character" automatically replaces a character that is not allowed in a filename (such as the \ character) with the character defined here:
The "Use configuration values" option allows you to specify which configuration to use when reading the values needed to calculate file names and locations:
For example, in the following case, with the value set to 00*, since two configurations have names that begin with 00, the variables from the first configuration will be used:
In the example below, since no configuration starts with 00, the values from the @ configuration will be used: