Event

The Event tab has the following fields.

Field

Description

Candidate Event Key

Expression built from the data of the incoming message. This expression should evaluate to a string and it is compared to the "key" field of the activity’s input. If the Candidate Event Key and the activity’s key match, then the process accepts the incoming message.

For example, you may have a Invoke an Adapter Request-Response activity that sends a request with a particular ID. You are expecting a response message that contains that same ID so that you can determine the message is a response to your sent message. You would specify the field of the incoming reply that contains your ID in the Candidate Event Key. You would then use the message ID of the request you sent earlier in the process as the "key" field in the input.

This expression is specified in XPath, and only data from the incoming event is available for use in this XPath expression. For more information about XPath expressions, see TIBCO ActiveMatrix BusinessWorks™ Process Design.

Event Timeout (msec)

A message may arrive before this activity is executed. This field specifies the amount of time (in milliseconds) a message waits if it is received before this activity is executed. If the event timeout expires, an error is logged and the event is discarded.

If no value is specified in this field, the message waits indefinitely. If zero is specified, the event is discarded immediately, unless this activity has already been reached.

Note:

When building an expression in the Candidate Event Key field, only data from the incoming event is available. This is because you want to place an expression containing incoming event data in the Candidate Event Key field. When the results of this expression match the results of the expression in the "key" item on the Input tab, the Wait For Adapter Request activity proceeds.