Gateway

Creating Simple and Compound Expressions

Simple expressions check for a single condition. An example of a simple expression is:

REQ.HTTP.URL == HTTP://www.mycompany.com

Compound expressions check for multiple conditions. You create compound expressions by connecting to one or more expression names using the logical operators && and

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

  1. In the configuration utility, on the Configuration tab, in the navigation pane, expand AppExpert and then click Expressions.
  2. In the details pane, click Add.
  3. In the Create Policy Expression dialog box, in Expression Name, type a name for the expression.
  4. To create an expression, click Add.
  5. Do one of the following:
    1. In Frequently Used Expression, select an expression from the list, click OK, click Create and then click Close.
    2. Under Construct Expression, select the parameters for the expression string, click OK, click Create and then click Close.
Creating Simple and Compound Expressions