Generating a Filter Expression
There are two components to a filter definition: the actual filter expression and the XML that represents the graphical display of the filter on the Filter dialog in a WCC application.
For example:
Some of the callout interface methods (specifically, overrideBaseFilter, overrideFilterOnLoad and overrideFilterOnRefresh) allow you to pass a filter expression to create a new filter, or to append it to an existing filter. The overrideBaseFilter and overrideFilterOnLoad methods also allow you to pass the XML that represents the graphical filter expression so that the user can see a graphical image of the filter (the filter generated by the overrideFilterOnRefresh method is not intended to be viewed by the user).
You can obtain the filter expression and graphical filter XML by defining a filter on the Filter dialog in a WCC application.
When a filter is defined, the filter expression syntax is displayed in the Filter dialog when you select Show Expression on Tools menu. The XML that represents that graphical display is produced by selecting Export Filter XML... on the Tools menu.
Filter expressions can also just be written manually, if desired. For information about creating filter expressions, see the “Sorting List" and "Filtering Lists” topics in the TIBCO ActiveMatrix BPM Developer’s Guide.
The only way to obtain the XML that represents the graphical filter display is by using the Export Filter XML... function in the WCC application.