After its completion the Rename File Action retains some of its operational data such as the (full path and) filenames of renamed files both before and after file renaming has been performed as well as the number of renamed files and completion status of the file renaming procedure.
These dynamic data on file renaming can be retrieved by the means of Variable Wizard and used for automatic ad-hoc configuration of the next Actions, thus streamlining automatic file renaming into the wider context of the Task.
Variable | Details |
---|---|
Last destination file | The full path and name of the last file created during file renaming process.
Examples:
|
Last source file | The path and name the last renamed file had before it was renamed.
Examples:
|
List of destination files | The list of files created during file renaming (i.e., the list of renamed files, their full path and new names).
Examples:
|
List of source files | The list of file names (with their original names) before they were renamed during file renaming process.
Examples:
|
List of source, destination files | The list containing both path and names of source and destination files (i.e., before and after they were renamed).
Examples:
|
Number of renamed files | The total number of files that were renamed.
Examples:
|
Completion status | Retrieve Action execution status with a possible value—Successful or Failed. Or Empty, if Action has not been executed yet. |
Adjust* | Streamline creation of Task workflows even further—instantly make quick variable adjustments such as in-place replacement (all, first, or last occurrence), trimming (whitespaces, quotes, etc.), or changing capitalization. Optionally, set a different display name. |
Automatic list processing…
The Rename File variables returned as lists (even multi-level) can be automatically processed in further Actions. Use the For Each Action to parse a given text string (any list variable) and sequentially retrieve its elements one by one · see list processing examples. Or, use the Split Text and Lookup Text Actions to access list elements by their indices.
Need help?
If you have any questions, please do not hesitate to contact our support team.