Using notification variables

The following variables can be specified in a message of a notification or in the parameters of an executable attached to a rule.

Variable

Description

%Event

The type of rule that triggered the notification.

%Dir

The name of the directory where the action was attempted

%File

The name of the file the action was attempted on, including the full file path relevant to root

%ToFile

The new name of a file that was renamed

%FmFile

The former name of a file that was renamed

%User

The username of the user that attempted the action

%Emailaddress

The email address, as specified on the Edit User page, of the user that attempted the action

%Status

The status of the attempted action, either Success or Fail

%SimpleName

The  name, without any path information, of the file the action was attempted on

%Timestamp

The date and time the notification was triggered