Creating a static filter using excludes

Suppose that you want to create a filtered typelist that displays all of the zone codes except those that are in use in Canada. You want to display the complete list of typecodes in the ZoneType typelist except for the following:

  • city
  • fsa
  • province

The following table shows the typecodes in the ZoneType typelist:

ZoneType typecode

Associated typelist

Associated typecode

Include in filter

city

Country

CA (Canada)

US (United Stated)

county

Country

US

fsa

Country

CA

postalcode

Country

AU

CA

DE

province

Country

CA

state

Country

AU

DE

US

zip

Country

US

To create an excludes filter

  1. Open the typelist that you want to filter in the Guidewire Studio™ Typelists editor.
  2. In the selector next to Add , click Exclude From Filter.
  3. In the Typecodes list, select the typecodes that you want to exclude. For example, select city and fsa.
  4. Click Next.
  5. On the New Filter tab, in the Name and Description text boxes, type ExcludesCanada.
  6. Set the Include all typecodes check box true. This ensures that you start with a full set of typecodes.
  7. Click Finish.

Result of the preceding sequence of steps.