Skip to main content

Rename File

Overview​

The Rename File node changes the computed name of an incoming file while passing the file content through unchanged.

Purpose​

Use Rename File when a downstream destination, email attachment, archive, or external system needs a specific filename generated from static text or workflow properties.

Configuration​

SettingDescription
New filenameThe new file name without the extension. This field can be static or can include workflow properties, such as Trends-${ITERATION_INDEX}.

Inputs​

InputData TypeInput TypeDescription
InputFileNodeFileSingleA NodeFile connected to the InputFile port.

Outputs​

OutputData TypeCollectionDescription
OutputFileNodeFileFalseA NodeFile connected to the OutputFile port. The physical file content is copied from the input, but the output file name is updated.

Properties​

PropertyFlowDataTypeDescription
FILE_RENAMER_FILEJsonNodeThe processor defines the FILE_RENAMER_FILE runtime property for generated file metadata.

Processing Logic​

The node evaluates the configured filename expression, validates that it can be used as a filesystem path, loads the incoming file into a new output NodeFile, and renames that output using the configured name.

Examples​

Use invoice-${CUSTOMER_ID}-${ITERATION_INDEX} as the new filename to produce unique attachment names per workflow iteration.

Notes / Limitations​

  • Enter the base filename without the extension.
  • Invalid filesystem path characters cause the node to fail.
  • The node does not change the file contents.