Rename To operation

Changes the name of a file that resides in the file system of the LiveCycle Server. This operation is useful for moving files to different locations.

For information about the General and Route Evaluation property groups, see Common operation properties.

Input properties

Properties for specifying the name change for the file.

Source Filename

A string value that represents the fully qualified name of the file on the file system to rename.

Destination Filename

A string value that represents the new fully qualified name of the file on the file system.

The source and destination filename can include the following parameters that are replaced with specific values at run time.

Parameter

Description

%Y

The current year (four digits)

%y

The current year (last two digits)

%M

The current month

%D

The current day of the month

%d

The current day of the year

%H

The current hour using the 24-hour clock

%h

The current hour using the 12-hour clock

%m

The current minute

%s

The current second

%R

A random number between 0 and 9

Output properties

Properties for saving the operation results.

Result

(Optional) The location to store the new name of the file. The data type is string.

Exceptions

The exception event attached to this operation can receive FileUtilsException exceptions.