Using Event Notification
![*](icon_task_xpe.png)
To use event notification
1. In Adapter Notification Editor Select Event Source tab, click Browse to navigate and select the event source node. The following fields are available in the Node Selector tab :
Field | Description |
Search Node | Searches the node. Note: This is mainly for the nodes that are available but not visible due to Tree View Level control in Adapter Service Preference. For more information on Adapter Service Preference, see webMethods Service Development Help. |
After selecting the node from Node Selector, the selected node appears in the Extended Node Id.
Field | Description/Action |
Extended Node Id | Displays the extended node id of the selected node. The node id is represented in the following format: nsu=<namespace uri>; Id type=Id value |
In Adapter Tree Viewer, right click on a node to view the following menu options:
Menu Option | Description |
Set As Root | Use to set a node in the Tree-View as the root node. To view the hidden nodes in the tree view, set a node as a root node. |
Copy Node Id | Use to copy the node's id from the tree view. |
Copy Node Details | Use to copy the node's details from the tree view. |
2. In Adapter Notification Editor Select Event Source tab, the Event Source displays the selected event source node id.
Note:
Only one event source is supported per one event notification.
3. Set the following parameters as required:
Parameter | Description/Action |
Monitoring Mode | Default. The monitoring mode specified during configuration of the listener. Note: All the other options override the listener's monitoring mode at each item level. Reporting. The datasource is sampled and the notification is sent to the Adapter for OPC. Sampling. The datasource is only sampled and no notification is sent to the Adapter for OPC. Disabled. The datasource is disabled. |
Queue Size | The maximum number of messages stored in the queue for delivery. Default : 0 |
Discard Oldest Message | True. The oldest message from the queue gets discarded. False. No messages are discarded. If the queue size is full, any new messages are ignored. |
4. In the Configure Filter tab, Filter Query: write the filter condition for the notification to be generated. For more information on the rules for query writing, see
QueryParserLanguage. 5. If the condition is met, select the fields which you want to include in the notification.