Chapter 11 Out-of-Process 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) in TIBCO BusinessEvents Language Reference.
Event Reference
Custom Destination
If you do not want to use the default destination for the specified simple event, identify an alternate destination in this field.
Event
The Event tab has the following fields.
Candidate Event Key
Use to filter events. Only events whose candidate event key matches the key provided will trigger the activity.
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 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 documentation on JMS/RV Wait for Activities for more information.
Event Timeout
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
Output
The Output tab has the following fields.
Data Type
BEReceiveEventOutput
Expand to show the name, properties, and attributes of the event type selected in the Configuration tab.