Rename File

Purpose

Renames a file.

File Copy Node

Usage

This workflow node renames an existing file to a new name.

Configuration

File Copy Node

Old Filename

The name of the file that will be renamed.

New Filename

The new name of the file.

Path

The logical path to the file from the root of your customer folder on paygate. You can use the folder browser functionality to set the path if required.

Tokens

Special tokens can be used in path and filename fields to allow them to be dynamically named. For example: MyReport-21-09-2025

Token Meaning Example
{dd} Current Day number 12
{MM} Current Month Number 03
{yy} Current Year (2d) 25
{yyyy} Current year (4d) 2025
{hh} Current Hour (24hr) 07
{mm} Current Minute 45
{ss} Current Second 22
{SSS} Current Millisecond 123

For example, at the time of writing: MyFolder-{dd}-{MM}-{yyyy}

would result in a folder name of: MyFolder-14-03-2025