Action rule variables

The following table describes the variables that you can use as values for actions in a rule.

Variable

Description

$$FILE_PATH$$

Defines the path of the file.

EXAMPLE: \b2bhome\Folder1\incoming\aaa.txt

$$FILE_ABS_PATH$$

Defines the absolute path of the file.

EXAMPLE: C:\Agent\cm\AFT\ftshome\b2bhome\Folder1\incoming\aaa.txt

$$FILE_DIR$$

Defines the parent directory of the file.

EXAMPLE: \b2bhome\Folder1\incoming

$$FILE_ABS_DIR$$

Defines the absolute parent directory path of the file.

EXAMPLE: C:\Agent\cm\AFT\ftshome\b2bhome\Folder1\incoming

$$FILE_NAME$$

Defines the name of the file.

EXAMPLE:aaa.txt

$$FILE_NAME_NO_EXT$$

Defines the name of the file without an extension

$$FILE_EXT$$

Determines the file extension (including the "." character).

$$FILE_EXT_NO_DOT$$

Determines the file extension (without the "." character).

$$FILE_DATE$$

Defines the date of the file in YYYYMMDD format.

EXAMPLE:20180325

$$FILE_TIME$$

Defines the time of the file in HHmmSS format.

EXAMPLE:170459

$$FILE_SIZE$$

Determines the size of the file in bytes

$$USER$$

Determines which users are allowed

$$COMPANY$$

Determines which companies are allowed

$$VIRTUAL_FOLDER$$

Defines the virtual folder name

Parent Topic

Creating an MFT Enterprise post processing rule