Creating Simple and Compound Expressions
Simple expressions check for a single condition. An example of a simple expression is:
|Compound expressions check for multiple conditions. You create compound expressions by connecting to one or more expression names using the logical operators && and||. You can use the symbols to group the expression in the order of evaluation.|
Compound expressions can be categorized as:
- Named expressions. As an independent entity, a named expression can be reused by other policies and are part of the policy. You configure named expressions at the system level in the configuration utility. You can use a predefined named expression in the policy or create one of your own.
- Inline expressions. An inline expression is one that you build within the policy that is specific to the policy.
To create a named expression
- In the configuration utility, on the Configuration tab, in the navigation pane, expand AppExpert and then click Expressions.
- In the details pane, click Add.
- In the Create Policy Expression dialog box, in Expression Name, type a name for the expression.
- To create an expression, click Add.
- Do one of the following:
- In Frequently Used Expression, select an expression from the list, click OK, click Create and then click Close.
- Under Construct Expression, select the parameters for the expression string, click OK, click Create and then click Close.