Rename

Updated a few days ago

2 min read

Overview

 

This is an automatic action that changes the name of a file.

 

Rules

 

  • The person who created the workflow chooses text for the new name of a file processed by this action. Metadata variables can be used for the new file name (e.g. if you want to append the current month/year to the file name - “Electrical Company Bill (October 2023)”.

    Rename
     
  • Force unique identifier option will have the new file name concatenated with the current date and after that, the file identifier in brackets
    • E.g. if the original file name is "someFile.xml" and the person who creates workflow puts "test" as renamed file name, the result file name would be something like "test 2022-06-01 (84c52531-59fe-477a-90e3-0173392b7578).xml"
    • The reason for appending the identifier is so that all renamed file names are different
    • If the option is not selected, the file name will be exactly as specified in the New file name input. In that case, the user takes responsibility for taking care that files with the same name don't end up at the same location and therefore be overwritten.
  • Maximum number of characters for a new file name is 100
  • Characters : “ # % * : < > ? / \ | ~ & ゛ဧ $ are forbidden when you try to put them directly in the text field for New file name. If you use metadata value for New file name, then the aforementioned characters are replaced with “-” because Windows doesn't allow using them in file names.
  • Enter character is replaced with space
  • File extension is not changed