Trigger Event Attributes

When a Trigger Event occurs, it generates attributes that you can access and utilize in your Triggers. With over 80 distinct Trigger Event types, you'll find both common attributes that apply universally and specific attributes unique to each event. To explore the full list of attributes for any event, choose the desired Trigger Event type from the dropdown list below. You can also select the desired Event type from the menu listing.

 

 

Event Attributes can be used in Trigger Conditions and Trigger Actions (variables and functions).

 

Below you will find an example that uses Trigger Event Attributes.

 

In this example, the Trigger is using the File Delete Event type (set in the Parameters tab).

 

Two Event Attributes are used in the Trigger Conditions, as outlined in red in the image below.

 

Username - Identifies the name of the user that deleted the file.

 

Local - Returns a value of true if the directory where the file is being deleted is local to the MFT Server system.

 

 

If the above Conditions are met when a file is deleted, the Action configured in the Trigger will execute. In this example, the Action configured is Append File. The Message field uses the Event attributes (outlined in red in the image below) in the Message portion of the Action. The Message is written to a text file named fileDel.txt

 

Name — Identifies the name of the deleted file.

 

LocalDir — Identifies the directory where the file was deleted.

 

Username — Identifies the name of the user that deleted the file. The Username is specified as a parameter in the function named ToUpperCase. This function converts all the letters in the Username to upper case.

 

 

The image below displays the contents of the fileDel.txt file after the Trigger Action executes.