If Filename = Bob.txt AND If User is Member of Admins, Users, Power Users…
If this expression were evaluated from left to right, the results would not match our expectations:
If (((F and MA) or U) or PU)
Instead, EFT Server evaluates the conditional statement first as its own atomic unit and then evaluates the resulting expression from left to right:
If (F and (MA or U or PU))
This allows you to create expressions that contain order-of-precedence grouping without having to use parenthesis. The evaluative OR statement is hidden inside the conditional statement, as long as that conditional statement can evaluate against multiple criteria.
Only the following conditions can evaluate against multiple criteria (strings):
If User is Member of
If Login name
If Virtual Path
If Physical Path
If Physical Folder Name
If Physical Destination Path
If Physical Destination Folder Name
If Destination File Name
If Virtual Destination Path
If Filename
To define multiple criteria for a condition
If you are creating a new condition, click a condition, then click Add Condition to add it to the Rule box. To learn more about available conditions, see Conditions.
If you are adding to an existing condition, highlight
the condition in the Rule pane,
then click the condition you want to add from the Conditions
list. The condition appends to the existing one and adds a logical
operator (AND/OR).
Click the logical operand to change it. Note that all of the logical operators must be the same for that condition.
If you need to use more complex criteria using AND and OR, you can use wildcard logic to create any logic that wildcards support. For example, if you add the File Name condition to the Rule pane, you can then define the path mask using complex logic with wildcards. |