Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 21 ActiveMatrix BusinessWorks Integration : Wait for Event Resource Reference

Wait for Event Resource Reference
This activity listens to the default destination of a specified event type or to a destination specified in the configuration tab, and waits for a matched simple event.
Configuration
The Configuration tab has the following fields.
The name to appear as the label for the resource. Names follow Java variable naming restrictions. Do not use any reserved words. Names must be unique within a folder. See Identifiers (Names).
The lists of events and destinations shown in the Event Reference and Custom Destination fields comes from the EAR file referenced in the selected RuleServiceProvider Configuration resource.
If you do not want to listen for the specified event on its default destination, browse to and select an alternate destination.
Event
The Event tab has the following fields.
For example you can use the event’s extID as the event key. You can also use any of the event's properties as a matching candidate event key. There can be multiple keys, but only the first one that matches is considered.
As an example use of this property, suppose you want "Wait for Event" to fire only for the 10th occurrence of an event. You would set the Candidate Event Key value to 10. In the input tab, you would map the input item key to a global variable that is incremented by 1 each time the event occurs.
Refer to ActiveMatrix BusinessWorks Palette Reference sections on other "Wait For" types of activities (for example, for JMS queues or topics, or for Rendezvous) for more information.
If the event is received before the process reaches this activity, the event waits for this number of milliseconds. If the timeout period ends before the process reaches this activity, the event is discarded.
Input
The Input tab has the following fields.
Data Type
The processTimeout value is the Event Timeout from Event tab
Output
The Output tab has the following fields.
Data Type
Expand BEReceiveEventOutput to show the name, properties, and attributes of the event type selected in the Configuration tab.
 

Copyright © TIBCO Software Inc. All Rights Reserved