Condition Evaluation

Regardless of placement, ALL Conditions are evaluated, because all Conditions exist at the root level.

For example:

ON FILE UPLOAD

{

    if (%FS.FILE_NAME% = "*.pgp")  //if filename extension is PGP then decrypt it

    {

       PGP Decrypt %FS.FILE_PATH%

    }

    if (%FS.FILE_NAME% = "*.zip") //even if the prior condition was true, still evaluate this condition.

    {

        UNZIP %FS.FILE_PATH% to "%FS.FILE_PATH%\%EVENT.DATE%_%EVENT.TIME%\"

    }

}

Related Topics

Using Conditions

Adding a Condition to an Event Rule

Condition Placement

Changing Condition Placement

Else Clauses

Logical Operators

Evaluating Expressions

The Compound Conditional Statement

List of Conditions