Simple Event Reference
Simple Event resources are used to define an object that represents an occurrence, such as sending an invoice, debiting an account, and so on.
You can modify and enrich events before they are asserted into the Rete network. Rule evaluation depends on event values at time of assertion, so they can be changed only before assertion.
Configuration (Standard Tab)
Properties (Standard Tab)
The Properties section has the following fields. Event properties generally map to incoming or outgoing message properties.
Field | Global Var? | Description |
---|---|---|
Name | No | The name to appear as the label for the property. Names follow Java variable naming restrictions. Do not use any reserved words.
See
Identifier Naming Requirements.
Note: In addition to standard naming restrictions, do not begin an event property name with
_ns_ or
_nm_. These have a special use. Also note that the property name cannot begin with the character
_.
|
Type | No | One of: String, Integer, Long, Double, Boolean, DateTime |
Domain | No | Click the search button and select the domain model you want to use for this property.
See Domain Models for details about adding domain models. |
Declaration and Expiry Action (Advanced Tab)
If the Time to Live field is zero or higher, define the action or actions to take when an event expires in the Expiry Action section.
If an event is explicitly consumed in a rule, TIBCO BusinessEvents does not execute the expiry action.
The editor in the Expiry Action section is the same as the Rule function editor. See Rule Function Resource Reference for details.
See TIBCO BusinessEvents Architect’s Guide for background details.
Payload (Advanced Tab)
An event can have a payload. The payload often corresponds to a message body. Payloads can be defined using an XML schema. In the left panel you add groups (elements) and parameters (attributes). You can add groups as children of a selected group, or at the same level, to define a hierarchy as desired. In the right panel, you define the type of each element or parameter. The table below describes the payload parameters available for each content type. The content types appear in the drop-down list for the Content field in the Payload section: