Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 9 Simple Events : Adding a Simple Event

Adding a Simple Event
This section provides summary steps for adding a simple event. See Simple Event Reference for details on how to complete the values. Also see Overview of Simple Events.
To Add a Simple Event
1.
2.
3.
Click Finish. You see the Simple Event Editor.
4.
5.
Defining Payloads Using XML Schema Files
You can define the XML schema file within TIBCO BusinessEvents Studio, or import an existing one. Then you can reference the schema when defining the payload.
To access an XML payload in rules you can use the @payload attribute, as well as Event, Mapper, and XPath functions. For simple XML payloads you can use string functions.
To Define an XML Schema File in TIBCO BusinessEvents Studio
An Eclipse resource is available for this task.
1.
2.
3.
To Import an XML Schema File
An Eclipse resource is available for this task.
1.
2.
3.
4.
To Use an XML Element in a Schema File in an Event Payload
To use an XML element in a schema file as the root element of the event payload, do the following.
1.
In the event's Advanced tab, click the Add (+) button. You see a root node in the left panel.
2.
In the Content field, select XML Element Reference.
3.
4.
5.
6.
Click OK to return to the Advanced tab. The word root in the left panel is now replaced with this element name.
7.
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved