Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Working with webMethods Messaging Triggers | Creating a webMethods Messaging Trigger | Using Filters with a Subscription
 
Using Filters with a Subscription
You can further specify the documents that you want a trigger to receive and process by creating a filter for the condition. A filter specifies criteria that the published document must meet before the webMethods messaging trigger receives and/or processes the document. You can use the following types of filters:
*Provider filter. A provider filter is saved on the messaging provider. The messaging provider applies the filter when it receives the document from the publisher. If the document meets the filter criteria, the messaging provider enqueues the document for the subscribing trigger.
*Local filter. A local filter is saved on Integration Server. After a trigger receives a document, Integration Server applies the filter to the document. If the document meets the filter criteria, Integration Server executes the trigger.
How you create filters for a condition depends on the following:
*The messaging provider used by the publishable document type.
*If the messaging provider is Universal Messaging, the encoding type for the publishable document type.