Condition Placement

Where conditions are placed within the Rule pane when they are added depends on which item is selected in the Rule pane.

ON FILE UPLOAD

{

    if ( %FS.FILE_NAME% = "*.pgp" )  //a root level condition. No action added yet

    {

    }

}

ON FILE UPLOAD

{

    if ( %FS.FILE_NAME% = "*.pgp" )

    {

       PGP Decrypt %FS.FILE_PATH%

    }

if ( %FS.FILE_NAME% = "" ) //new condition added placed at root level

{

}

}

ON FILE UPLOAD

{

    if (%FS.FILE_NAME% = "*.pgp" ) AND (%FS.FILE_SIZE% <300,000b)  //a compound condition

    {

       PGP Decrypt %FS.FILE_PATH%

    }

}

Related Topics

Using Conditions

Adding a Condition to an Event Rule

Changing Condition Placement

Condition Evaluation

Else Clauses

Logical Operators

Evaluating Expressions

The Compound Conditional Statement

List of Conditions