Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Using Event Filters | Filter Strings | Field Names
 
Field Names
When referring to a structure or sequence field within a filter string, you can use a fully qualified field name. Consider the event type definition shown in the following example.
Sample::StructEvent {
string count;
int scores[];
struct sample_struct {
BrokerDate sample_date;
int sample_array [];
}
}
To refer the third integer in the sequence field scores, you would use the field name scores[2] in your filter string.
To refer to the field sample_date within the struct field sample_struct, you would use the field name sample_struct.sample_date in your filter string.
To refer to the first integer in the sequence field sample_array, you would use the field name sample_struct.sample_array[0] in your filter string.