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%\"

    }

}

R elated 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