Contents

What's New
Before You Begin
Installation
TIBCO BusinessEvents Components and Add-on Products
Installation Overview
Required and Optional Products and Supported Platforms
Installation History Log Files
TIBCO Home and Default Installation Directory
Using Multiple TIBCO Homes
Using an Existing Eclipse (or TIBCO Business Studio™) Installation
LGPL GTK Plugin for Eclipse
Upgrading TIBCO BusinessEvents
Installation Requirements
Installer Account
Hardware and Software Requirements
Installing the Software
Installing in GUI Mode
Installing in Console Mode
Installing in Silent Mode
Verifying the Installation
Uninstalling TIBCO BusinessEvents
Uninstall in GUI mode
Uninstall in Console Mode
Uninstalling in Silent Mode
Existing Eclipse (or TIBCO Business Studio) Installation
Eclipse Requirements
Eclipse Installation
Install Using the Script install_studio_repo
Install Using Ant
Install Manually by Copying Links and Updating .ini Files
Post Installation Tasks
Integrating the Required External Software
Re-Initialize Studio Plug-ins Registry after Add-on Software Installation
JVM Settings in Properties Files
All UNIX Installations — Directory Permissions
Configuration for 64-bit Mode
Configure for 64-bit Mode
Enabling 64-bit Properties
Adding Installation or Build Script for OpenSSL for Tomcat
Setting Up OpenSSL on Windows
Setting Up OpenSSL on Linux (Debian & Red Hat)
Tutorial Projects
The Fraud Detection Scenario
Project Design Tutorial
Import of Existing Projects into Your Workspace
Importing an Example Project into Your Workspace
Before you Create a Project
Creating the FraudDetection Project
Adding an HTTP Channel and Destination
Adding an HTTP Connection
Adding an HTTP Channel and Destination
Events
Defining the AccountOperations Event
Defining the CreateAccount Event
Debit Event Reference
Unsuspend Event Reference
Account Concept
Defining the Account Concept
FraudCriteria Scorecard
Creating the FraudCriteria Scorecard
The InitializeScorecard Rule Function
Adding the InitializeScorecard Rule Function
PreProcessor Rule Function
Adding the PreProcessor Rule Function
BadCreateAccount and CreateAccount Rules
Adding the BadCreateAccount Rule
Adding the CreateAccount Rule
ApplyDebit BadApplyDebit and CheckNegativeBalance Rules
Rules Examples
FraudDetection Rule and Unsuspend Account Rule
Adding the FraudDetection Rule
Adding the UnsuspendAccount Rule
Project Analysis and Validation
Analyzing and Validating the Project
Cluster Deployment Descriptor (CDD) and the EAR File
Adding and Configuring a CDD
Building the EAR File
Starting the Engine and Sending Events
Command Line Start
Cache OM Tutorial
TIBCO BusinessEvents Cache Fundamentals
FraudDetection Example
Renaming the Fraud Detection Project and Changing Port
Event Preprocessor and the Rete Network
Updating the Event Preprocessor
CDD File for Cache Object Management and the EAR
Adding and Configuring a CDD
Deployment of Inference and Cache Agents
Starting the TIBCO BusinessEvents Agents and Sending Events
Backing Store Tutorial
Verifying DBMS Software and Driver and Editing the TRA
TIBCO BusinessEvents Studio Project
Renaming the Fraud Detection Cache Project and Changing Port
Adding a JDBC Connection Shared Resource
Renaming and Configuring the CDD and Building the EAR
Database Schema
Running the Initialize Database Script as the DBA or System User
Running the Create Tables Scripts as the TIBCO BusinessEvents User
Generating the Project-Specific SQL Scripts
Running the Table Creation Script
Application Deployment and Testing
Starting the TIBCO BusinessEvents Agents
Sending Events
Resetting the Backing Store Tutorial
Complex Event Processing (CEP)
Technical Requirements of a CEP System
A Model-Driven Approach
Stateful Rule Engine
Object Management Types
Main Product Components and Add-On
TIBCO BusinessEvents Design-time Components
TIBCO BusinessEvents Administration Components
Design-time Resource Overview
Channels and Events
Concepts
Score Cards
Rules
Object Management and Fault Tolerance
State Modeler
Database Concepts
Query Language and Framework
Pattern Language and Framework
Deploy-time and Runtime Overview
Cluster Deployment Descriptor (CDD)
TIBCO Hawk Application Management Interface
Hot Deployment
Channels Destinations and Events
Channel Types
Channel Serializers
Deserializing from Rendezvous Message to Event
Serializing from Event to Rendezvous Message
Message Acknowledgement
Events
Simple Events
Time Events
Scheduled Time Events
Rule-Based Time Events
Advisory Events
Default Destinations and Default Events
Mapping Incoming Messages to Non-default Events
Time to Live and Expiry Actions
Event Expiration and Expiry Actions
Event Preprocessors
Preprocessor Usage Guidelines
Concepts
Concept Relationships
Concept Property History
Containment Relationships
Containment and Reference Concept Relationship Rules
Containment Example
Inheritance Relationships
Reference Relationships
Scorecards
Rules
Rule Priority and Rank
Rule Functions
Runtime Inferencing Behavior
Rule Evaluation and Execution
Conflict Resolution and Run to Completion Cycles
How to Work with Rules
Order of Evaluation of Rule Conditions
Enforcing the Order of Condition Evaluation
Object Management (OM)
Cache and Store Object Management
In Memory Object Management
Object Management and Fault Tolerance Scenarios
Cache OM with Memory Only Mode on All Objects and Fault Tolerance
Cache or Store OM and Fault Tolerance
Distributed Cache OM
Characteristics of a Distributed Caching Scheme
Failover and Failback of Distributed Cache Data
Limited and Unlimited Cache Size
Distributed Cache and Multi-Agent Architecture
Agents
Inference Agents
Cache Agents
Memory and Heap Size Guideline for Cache Agents
Query Agents
Dashboard Agents
Legacy ActiveSpaces Cluster Member Discovery
Load Balancing
Fault Tolerance of Agents
Cache OM with a Backing Store
Backing Store Write Strategy
Storage and Retrieval of Entity Objects
Data Lookup Strategies
The Role of the Object Table
Domain Object Modes and Project Design
Domain Object Modes For Individual Entities
Memory Only — Useful for Stateless Entities
Cache Only And Store Only Mode
Cache Only And Store Only Objects in the Rete Network
Concurrency and Project Design
Multi-Agent Features and Constraints
Event-Related Constraints
Multi-Agent Example Showing Event Handling
Use of Locks to Ensure Data Integrity Within and Across Agents
Locking in TIBCO BusinessEvents
When to Use Locking
Lock Processing Example Flow
Lock and Unlock Functions
Tips for Locks
Multiple Keys Protect One Object
Lock Failures
Threading Models and Tuning
Event Preprocessor and Rete Worker Thread Options
Shared Queue
Destination Queue
Caller’s Thread
RTC Options — Single-Threaded or Concurrent
Post-RTC and Epilog Handling and Tuning Options
Database Write Tuning Options
Appendix A: In Memory Performance Statistics Specifications
Glossary
Administration Overview
Engine Startup and Shutdown
Engine Startup Sequence
Engine Shutdown Sequence
Order of Precedence at Run time
Values Used to Establish the Engine Name
Data Lookup Strategies
Enabling the Legacy Lookup Strategy
JVM-Level TRA File Configuration
Setting Property for Cache Based Object Management on AIX
Setting JMX Properties
TIBCO BusinessEvents Enterprise Administrator Agent
Starting BusinessEvents Enterprise Administrator Agent
Installing TIBCO BusinessEvents Enterprise Administrator Agent as Windows Service
Signing in to the TIBCO Enterprise Administrator Server
TIBCO BusinessEvents Enterprise Administrator Agent Monitoring
BusinessEvents Application Management
Machine Management
Viewing Machines List
Adding a Machine
Deleting a Machine
Editing Machine Details
Uploading External JAR Files
Auto-detecting BusinessEvents Installations on Host Machines
Viewing All Instances And BusinessEvents Installations on The Host Machine
Application Deployment Management
Creating a New Application Deployment
Exporting Application from TIBCO Administrator
Importing TIBCO Administrator Applications
Importing the BusinessEvents Enterprise Administrator Agent Application
Applying the Project Specific Master TRA File
Editing an Application Deployment
Deleting an Application Deployment
Exporting Application from TIBCO BusinessEvents Enterprise Administrator Agent
Hot-Deploying an BusinessEvents Application
Deployment Views
Processing Unit Instances Management
Viewing the Instance Management Page
Creating an Instance
Updating an Instance
Copying an Instance
Deleting an Instance
Deploying Processing Unit Instances
Undeploying Processing Unit Instances
Starting Processing Unit Instances
Stopping Processing Unit Instances
Killing an Instance
Invoking Instance Operations
Downloading Thread Dumps for Instances
Downloading Log Files for Instances
Viewing Log File for Instance
Hot-Deploying an Instance
Hot-Deploying Classes and Rule Template Instances
Processing Unit Instance Configuration
Configuring Global Variables of an Instance
Configuring System Properties of an Instance
Overriding the Value of a System Property
Deleting the Override of a System Property
Adding a New System Property for an Instance
Removing a System Property for an Instance
Configuring BusinessEvents Properties of an Instance
Overriding the Effective CDD Value of a BusinessEvents Property
Removing a BusinessEvents Property
Adding a New BusinessEvents Property
Deleting the Override of a BusinessEvents Property
Configuring JVM Properties of an Instance
Configuring Log Levels of an Instance
Disabling Jetty Server Logs
Configuring Properties for Multiple Instances
Instance Monitoring Charts
Configuring Destinations for Event Throughput Chart
Rules and Alerts
Creating a Alert Rule
Monitored Entities Reference
Alert Tokens Reference
Deployment Profiles
Adding an Application Deployment Profile
Editing an Application Deployment Profile
Deleting an Application Deployment Profile
Creating a Duplicate Deployment Profile
Using Deployment Python Scripts to Connect to the TIBCO Enterprise Administrator Server when SSL Is Enabled
User Management
Roles and Permissions Reference
BusinessEvents Enterprise Administrator Agent Configuration Reference
I18n Support
Localizing BusinessEvents Enterprise Administrator Agent Messages
Command-line Interface
TIBCO BusinessEvents Enterprise Administrator Agent Commands Reference
Authentication and SSL Configurations
Configuring JMX Authentication
Configuring One-way SSL between Administrator Agent and Processing Unit Instance
Enabling SSL for The BusinessEvents Enterprise Administrator Agent Monitoring Page
Enterprise Archive (EAR) Files
Building an EAR File in TIBCO BusinessEvents Studio
Enterprise Archive Reference
Building an EAR File at the Command Line
Options for Building an EAR File
Engine Management at the Command Line
Command Line Startup Option Reference
Supplementary Property Files
Setting up TIBCO BusinessEvents Engine as a Windows NT Service
Deployment with TIBCO Administrator
Deploying a Project in a TIBCO Administrator Domain
Other Deployment Tasks
Overriding of Global Variables in TIBCO Administrator
Project Deployment
Deploying a Project EAR in a TIBCO Administrator Domain
Deploying a Project EAR for the First Time
Deploying a Project EAR for an Existing Application
Deploying on a Service Level
Deploying on an Instance Level
Hot Deployment
Modifications Allowed in Hot Deployment
Enabling Hot Deployment
Hot Deployment in a TIBCO Administrator Domain
Performing Hot Deployment in a TIBCO Administrator Domain
Performing Hot Deployment Outside a TIBCO Administrator Domain
User Authentication
Authentication Options
Authentication Configuration
Enabling Authentication and Selecting Authentication Type
Configuring File-Based Authentication
Authentication Property Reference for the TRA File
Common Authentication Properties for the CDD File
LDAP Authentication Properties for the CDD File
Access Control Configuration
Guidelines for Configuring Access Control
Structure of the Access Control File
Permissions—ALLOW and DENY
Access Control Files
Specification and Grouping of Project Resources
Permissions Definition
Resource Types and Corresponding Action Types
TIBCO Hawk Microagent Methods
Enabling the TIBCO Hawk Microagent
activateRule()
deactivateRule()
execute()
getChannels()
getCacheRecoveryInfo()
getDestinations()
getEvent()
GetExecInfo()
getHostInformation()
getInstance()
getJoinTable
GetLoggerNamesWithLevels()
getMemoryUsage()
getNumberOfEvents()
getNumberOfInstances()
getOMInfo()
getRule()
getRules()
getScorecard()
getScorecards()
getSessionInputDestinations()
getSessions()
getStatus()
getTotalNumberRulesFired()
getTraceSinks()
reconnectChannels()
resetTotalNumberRulesFired()
resumeChannels()
resumeDestinations()
resumeRuleServiceProvider()
setLogLevel()
SetLogLevel(Stringnameorpattern String Level)
startFileBasedProfiler()
stopApplicationInstance()
stopFileBasedProfiler()
suspendChannels()
suspendDestinations()
suspendRuleServiceProvider ()
Project Development
Creating a Project
Importing Projects in TIBCO BusinessEvents Studio
Finding a Project Element
Exporting (Generating) Concept and Event Schema (XSD) Files
Generating an XML Schema (XSD File)
Validating a Project or Project Resource
Working with External Library and Custom Function Paths
Adding an External Library or Custom Function Path
Specifying an External Library Location Using Build Path Variable
Working with Project Libraries
Creating (Exporting) a Project Library
Adding (and Removing) Project Libraries in a Project
Including a Project Library (Adding it to the Build Path)
Importing a Project Library
Removing a Project Library
Changing XPath Version of The Project
Disabling-Caching-for-Xpath-Expressions
Working with Global Variables
Setting and Overriding Global Variables from a Project Library
Adding and Managing Global Variables
Add and Manage Global Variables
Using Global Variables
Global Variable Reference
Overriding Global Variables at Deploy Time
Order of Precedence of Global Variable Overrides
Storing Trusted Certificates Outside of Your Project
Store Trusted Certificates Outside of the Project
Remote Terminal
TIBCO BusinessEvents Studio Tools Utility
Validating a Project from the TIBCO BusinessEvents CLI
Building an EAR File from the CLI
Importing an Existing Project from the CLI
Open the Imported Project in TIBCO BusinessEvents Studio
Working With Project Libraries at the Command Line
Work with Project Libraries at the Command Line
Examples of Creating a Project Library
Studio Tools Commands Reference
Migrating Mapper Functions to XPath 2.0 Using Command Line
Generating All Project Class Files at the Command Line
Generate Class Files at the Command Line
TIBCO BusinessEvents Studio Tools for Generating Class Files
Generating Encrypted Passwords
Running the Tester on the Command Line
The Generate Command
The Import Command
The Assert Command
Apache Maven Integration
TIBCO BusinessEvents Maven Plug-in Phases
Setting Up TIBCO BusinessEvents Maven Plug-in
Generating a Apache Maven POM File
Generating the BusinessEvents Project POM File Using BusinessEvents Studio
BusinessEvents Application POM File
Installing The Project Library to Maven Repository
Using OpenJDK with TIBCO BusinessEvents
Element Refactoring Operations
Renaming Moving Deleting and Copy-Pasting Elements
Renaming Moving and Deleting Elements
Renaming a Project Element
Moving an Element to a Different Project Folder
Delete an Element or Folder
Deleting a Project
Working with the Preview Page
Copy-Pasting an Element
Automatic Refactoring Actions and Limitations
Refactoring Limitations
Refactoring for Move and Rename Operations
Refactoring for Delete Operations
TIBCO ActiveSpaces Support
Channels and Destinations
Channel Serializers
Mapping Incoming Messages to Non-default Events
Working with Rendezvous Channels
Deserializing from Rendezvous Message to Event
Serializing from Event to Rendezvous Message
Avoiding REGISTRATION COLLISION RVCM Advisory Messages
Setting UTF-8 Message Encoding for the Rendezvous Channel
Working with Local Channels
Adding a Channel
Editing a Channel
Adding a Destination to a Channel
Communicating with Other Sources by Using TCP
Example TCP Rule Function to Start a Local TCP Server
Example TCP Rule Function to Connect to a Remote TCP Server
APIs for TCP Communication
Channel Resource Reference
Destination Resource Reference
ActiveSpaces Channel
Adding an ActiveSpaces Channel in a TIBCO BusinessEvents Application
Legacy ActiveSpaces Channels
Metaspace
Space
Members and Member Roles
Seeders
Leeches
Legacy ActiveSpaces Serializer
Distribution role
Consumption mode
Tuple
Filters
Operators Supported in Filters
Formats for Filter Values
Working with Legacy ActiveSpaces Channels
Creating a Destination and Event for Legacy ActiveSpaces Channel Using the Wizard
Configuring the Destination and Default Event Manually
Assigning a Default Event to the Destination
Configuring Events to Work with Legacy ActiveSpaces Channel
Configuring Security and Authentication For Legacy ActiveSpaces Channel
Custom Channel
Custom Channel Lifecycle
Channel Messages to Event Conversion
Catalog Function Implementation for Custom Channel
Creating a New Custom TIBCO BusinessEvents Channel
FTL Channel
Adding an FTL Channel in BusinessEvents Application
Creating FTL Destination and Events Using BusinessEvents Studio Wizard
Hawk Channels
Working with Hawk Channels
Setting Up the Runtime Configuration
Using the Hawk Destination and Event Wizard
Creating a Destination and Event Using the Wizard
Creating Event for Hawk Catalog Function Using Wizard
HTTP Channels
SOAP Channels
Adding an HTTP Connection
Adding an Identity Resource — For SSL Only
Adding an HTTP Channel
Adding a Destination
Creating Events as Needed and Setting Default Destinations
Configuring Rules and Rule Functions
In the CDD Configure the Processing Unit
Working with HTTP Requests
HTTP Requests and Events Mapping with the REST Serializer
JSON Payload
Action Rule Function Based Approach
Sample Code for Action Rule Function
Setting Up Fault Tolerance for the HTTP Channel
HTTP Channel Advanced Configuration Settings
Defining Event Properties for Standard HTTP Header Properties
Overriding-the-User-Agent-Header-Property
Configuring the HTTP Client for Expect-Continue Paradigm
Configuring the Retry Count for HTTP Client Connection
Defining the Location of Temporary Files Used by the HTTP Server
HTTP Functions for HTTP Request Messages Configuration
Generating a Self-Signed SSL Certificate (KeyStore)
Getting POST Data
Loading Trusted Certificates
Sending an Event
Sending an Asynchronous Request (Not Secure)
Sending a Secure Asynchronous Request
Sending a Secure Synchronous Request
Sending a Request via Proxy Server
Disabling HTTP Methods at Channel and Destination Level
Configuring TIBCO BusinessEvents as a SOAP Server and Client
Overview of SOAP Related Resources
Manually Creating Resources to Work with SOAP Services
Creating Resources Using the WSDL Import Utility
Importing a WSDL File
Re-importing a WSDL File
Exporting Resources as a WSDL File
Exporting a Rule or Rule Function as a WSDL
Parsing and Building SOAP Messages
Working with Incoming SOAP Messages (Event Payloads)
Parsing (and Optionally Removing) Headers and Header Attributes
Parsing the SOAP Body (SOAPBodyParts)
Parsing Attachments
Parsing SOAP Fault XML Nodes
Working with Outgoing SOAP Messages (Event Payloads)
Understanding the WSDL to Project Resource Mapping
Example WSDL
Example Project Folder Structure
How Project Artifacts are Named
JMS Channels
Selecting a JMS Serializer
Payload Handling
Creating Unique JMS DurableSubscriber Name Properties
Variables to Use with DurableSubscriberName
JMS Message Acknowledgement Modes
Using CLIENT_ACKNOWLEDGE Mode with WebSphere MQ and Cache-Aside
When JMS Messages are Acknowledged
Using JMS Header Properties in Incoming and Outgoing Messages
Setting Certain Header Properties in Destinations
Setting Header Properties Using Header Properties from Incoming JMS Messages
Setting JMS Header Properties in Outgoing JMS Messages Using Event Properties
How TIBCO BusinessEvents Sets the JMSReplyTo Header in Outgoing Messages
JMS Header Field Names
JMS Sender Session Pooling
SOAP over JMS Support in WSDL Import and Export
Kafka and the Kafka Streams Channel
Adding a Kafka Channel in TIBCO BusinessEvents Application
Adding a Kafka Streams Channel in TIBCO BusinessEvents Application
Setting Up Authentication for Kafka
Kinesis Channel
Adding a Kinesis Channel in TIBCO a BusinessEvents Application
MQTT Channel
Adding an MQTT Channel in a TIBCO BusinessEvents Application
Advance Properties Configuration for the MQTT Channel
StreamBase Channel
StreamBase Key Terms
Creating a Destination and SimpleEvent from a StreamBase Schema
Message Processing
SSL Configuration for Connection Between TIBCO BusinessEvents and TIBCO StreamBase
Setting up One-way SSL Between TIBCO BusinessEvents and TIBCO StreamBase
Setting up Two-way SSL Between TIBCO BusinessEvents and TIBCO StreamBase
Setting up One-way SSL with Enhanced Authentication Between TIBCO BusinessEvents and TIBCO StreamBase
Setting up Two-way SSL with Enhanced Authentication Between TIBCO BusinessEvents and TIBCO StreamBase
Events
Overview of Simple Events
Using Inheritance
Working with Events in Rules
Adding a Simple Event
Defining Payloads Using XML Schema Files
Defining an XML Schema File in TIBCO BusinessEvents Studio
Importing an XML Schema File
Using an XML Element in a Schema File in an Event Payload
Simple Event Reference
Wizard and Configuration (Standard Tab)
Properties (Standard Tab)
Declaration and Expiry Action (Advanced Tab)
Payload (Advanced Tab)
Simple Event Attributes Reference
Working With Time Events
Scheduled Time Events
Rule-Based Time Events
Adding a Time Event
Configuring a Rule-Based Time Event in a Rule or Rule Function
TimeEvent Resource Reference
Wizard and Configuration Tab
TimeEvent Attributes Reference
Rule-Based TimeEvent Function Reference
Using Scheduler Functions (Requires Cache OM)
Creating a Scheduler
Working with Advisory Events
Advisory Event Attributes Reference
Event Property
Concepts
Adding a Concept
Adding Concept Relationships
Creating a Containment Relationship
Creating a Reference Relationship
Enabling the Concept Reference Serialization in Concept to JSON
Editing or Deleting Concept Relationships
Concept Resource Reference
Wizard and Configuration Tab
Properties
Metadata
Concept Attributes Reference
Adding a Scorecard
Using a Scorecard in Rules
Scorecard Resource Reference
Accessing a Concept PropertyAtom
Get and Set PropertyAtom Value With User-Specified Time
Concept Property Arrays
Rules and Functions
Adding a Rule
Rule Editor Reference
Tips for Working in the Rule Editor
Adding a Rule Function
Adding a Rule Function
Rule Function Resource Reference
Using Variables and Functions in the Rule Editor
Using Catalog Functions in the Rule Editor
Using Global Variables in the Rule Editor
Using the Function Argument Mapping Wizard
Using Priority and Rank to Control Order of Rule Execution
Examples
Using the Quick Fix Feature in the Rule Editor
Using the Quick Fix Feature
Event Preprocessors
Transaction Error Handler Rule Function
Transaction Error Handler Rule Function Reference
Rule Template and Rule Template View
Adding a Rule Template View
The Rule Template Editor
Action Context Section
Bindings Tab
Rule Template Editor Reference
Rule Template Views
Functions
Catalog Functions
Built-in Functions
Custom Functions
Adding Custom Java Functions
Adding Libraries
Importing Old Projects
Compiling Project and Building an EAR File
Debugging
Annotations Reference
Considerations when Defining the Functions
Ontology Functions
Enabling Extended Functions
Function Tooltips and Decorations
Temporal Functions and Their Parameters
Virtual Rule Functions and VRF Catalog Functions
Adding a Virtual Rule Function
VRF Function Arguments
Cache Related Functions
Indexing for More Efficient Cache Queries
Creating an Index Using a Domain Object Override Setting
Enabling Explicit Tuple Format for Legacy ActiveSpaces Cluster Fields
Query the Cache Using BQL Queries
Structure of a Function Catalog
Example Function Catalog
Elements in the Function Catalog
Using the Reevaluate Element
Rule Language Grammar
Whitespace
Comments
Separators
Local Variables
Primitive Arrays
Literals
Escape Sequences
Operators
Attributes
Exception Handling
Syntax
Examples
Flow Control
Rule Language Datatypes
Concept Properties to XML Datatype Conversions
Compatibility of Operators with Types
Correcting Inconsistencies of Type
Mapping and Transforming Data
Function Argument Mapping Wizard for XPath 1.0
Function Argument Mapping Wizard for XPath 2.0
Mapping and Transforming Data to Function Input
Statements Hints and Errors
Buttons Menus and Icons
Toolbar and Right-Click Menu on the Input Section
Icons for Schema Element Datatypes
Qualifier Icons
Specifying Constants
Date and Datetime Strings in Constants
Data Validation
Incorrect Mappings
Repair Incorrect Mappings
Migrating Mapper Functions from XPath 1.0 to XPath 2.0
Shortcuts
Statement Menu Options
Dragging to the Left
Cutting and Pasting
Automatic Testing (at Runtime)
Examples of Mappings
Setting an Element Explicitly to Nil
Merging Input from Multiple Sources
Converting a List Into a Grouped List
Merging Two Corresponding Lists
Coercions
XSLT Statements
Attribute
Choose
Comment
Copy
Copy-Contents-Of
Copy-Of
Element
For-Each
For-Each-Group
Generate Comment
Generate PI
If
Value-Of
Variable
XPath Formula Builder For XPath 1.0
Addressing Schema Elements
Evaluation Context
Namespaces
Search Predicates
Testing for Nil
Comments
The XPath Formula Builder
String Representations of Datatypes
Date and Time Functions
Cluster Deployment Descriptor
TIBCO BusinessEvents and TIBCO Streaming Integration
Displaying BusinessEvents Project Entities in LiveView Web
Generating LiveView Configuration Files Using BusinessEvents Studio Tools Utility
LiveView Configuration File Reference
Authentication and SSL Configuration Between BusinessEvents and LiveView Server
Setting up One-Way SSL Between BusinessEvents and LiveView Server
Setting up Two-Way SSL Between BusinessEvents and LiveView Server
TIBCO ActiveMatrix BusinessWorks 6 Integration
TIBCO Enterprise Runtime for R Integration
Configuring BusinessEvents for TIBCO Enterprise Runtime for R
BusinessEvents and TIBCO Enterprise Runtime for R Mapping Reference
Predictive Model Markup Language (PMML) Integration
TIBCO Statistica Integration
Performance Profiler
The Delimiter Character
Turning Profiler On and Off
Using Properties
Using Functions
Using TIBCO Hawk Methods
Profiler Reference
Testing and Debugging Projects
Preparing to Run (Test) or Debug a Project
Build an EAR File
Create Test Data
For Remote Debugging Only Configure Java Debug Interface (JDI)
Configure Java Debug Interface (JDI)
Adding and Working with Launch (Debug or Run) Configurations
Add and Work with Launch Configurations
Launch Configurations Reference
For Testing and Local Debugging
For Remote Debugging
Test Data
Working with Concept and Event Test Data
Creating Concept and Event Instance Test Data
Generate Random Test Data Reference
Edit Test Data for Concepts and Events in BusinessEvents Studio Explorer
Edit Concept and Instance Test Data in the Rule Input View
Working with Rule Data
Setting Breakpoints in Rules and Rule Functions
Running Debugger
Running Tester
Run the Tester
Asserting Rule Input Data
Assert Tester Data
Viewing the Results
Viewing and Understanding Working Memory Contents
Unit Testing Using JUnit
Adding Unit Test Suite for the BusinessEvents Project
Shared Resources
Adding a Shared Resource
Enabling the Test Connection Feature
Legacy ActiveSpaces Connection Reference
Wizard and Configuration Tab
Hawk Connection Reference
Wizard and Configuration Tab
HTTP Connection Reference
SSL Configuration
Identity Resource Reference
Wizard and Configuration Tab
JDBC Connection Reference
JDBC Connection Wizard and Configuration Tab
JDBC SSL Configuration Reference
Configuring SSL for JDBC Connection
Connection Pooling
Test Connection Button
JMS Application Properties
Wizard and Configuration Tab
JMS Connection Reference
Wizard and Configuration Tab
Test Connection Button
Advanced Tab
Configure SSL
JNDI Configuration Reference
Wizard and Configuration Tab
Advanced Section
Rendezvous Transport Reference
Wizard and Configuration Tab
Configure SSL
Advanced Section
StreamBase Connection Reference
FTL Connection Reference
MQTT Connection Reference
Configuration Tab
SSL Configuration for MQTT
ActiveSpaces Connection Reference
Configuration Tab for ActiveSpaces Channel
Persistence Store Setup
Resources Required for Setting Up the Database
Install Prerequisites for Backing Stores
Microsoft SQL Server
Configuring Your Machine for Windows Authentication
SQL Server authentication vs. Windows authentication
Datatype and Driver Information
Configuring Your Machine for Oracle Database
Installing an OCI Driver - OCI Driver Support
Oracle Real Application Cluster (RAC)
Other Information about Oracle Database and Drivers
Cases Those Need Additional Setup
Configuring CDD for Special Cases (As Needed)
Initializing the Database and Generate Non-Project Tables
Generating Deployment Scripts for a Store
Deployment SQL Scripts Wizard Fields
Store Deployment CLI Utility Options
Migrating Data from Old TIBCO BusinessEvents Projects to Version 6.x
Aliases File and Project Schema Script
Configuring Aliases File and Project Schema Script
Step 1 Check the Aliases File and Modify Aliases as Desired
Step 2 Run the Project Schema Script (as BE_USER)
Step 3 If Needed - Map Key (Reserved) Words to Aliases
Providing Project-Specific Keyword Aliases
Step 4 Project Configuration (As Needed)
Updating Existing Backing Store Schema
What the Schema Update Utility Can Handle Automatically
Persistence Store Table Reference
Domain Models
Setting Up a Domain Model
Domain Model Value Descriptions for User-Friendly Presentation
Adding a Domain Model
Add a Domain Model
Adding Domain Entries
Importing and Exporting Domain Models
Exporting To and Importing From Excel
Importing Domain Model Entries from Excel
Export Domain Values to Excel
Importing Domain Model Entries from a Database Table
Associating Domain Models with Properties
Associating Domain Models to Properties
Validating Data in Domain Models
Display Models
Creating a Display Model
Editing a Display Model
Handling Null Properties
Enabling Use of the Nillable Attribute
Enabling Null Property Values to Appear When Serializing Concepts to XML or JSON
Examples of Nillable Attribute and Null Properties Settings
Special Treatment of Numeric and Boolean Null Values
Setting Runtime Properties for Special Treatment of Null Values
Property Reference for Null Property Handling
Diagrams
Working with Diagrams
Common Tasks
Diagram Tools
Interactive Tools
Layout
Context Menu Diagram Tools
Exporting a Diagram to an Image
Printing a Diagram
Setting Diagram Preferences
Project Analyzer and Selected Entity Project Diagrams
Advantages of Project Analyzer and Selected Entity Project Diagrams
Project Analyzer and Selected Entity Project Diagrams
Create a Selected Entity Project Diagram
Dependency Diagrams
Create a Dependency Diagram
Sequence Diagrams
Create a Sequence Diagram
Concept Model Diagrams
Create a Concept Model Diagram
Event Model Diagrams
Create an Event Model Diagram
Diagram Options and Tools Reference
Layout Options
Preferences
Setting Preferences
Decision Table Related Preferences
Global Diagram Preferences
Tester Preferences
Keywords and Other Reserved Words
Cluster Deployment Descriptor (CDD)
Adding a CDD File to the Project
Cluster Configurations For Your Project
Comparison across Various Configurations
Setting Up In Memory Object Management
Object Management Configurations
Configuring Apache Ignite as the Cluster Provider
Configuring TIBCO FTL as the Cluster Provider
Cluster Management Reference for TIBCO FTL Cluster
Configuring Apache Ignite as a Cache Provider
Setting Up Legacy ActiveSpaces as Cluster and Cache Provider
Configuring Limited Cache and Object Table Cache Options
Cluster Discovery and Internal Communication
Legacy ActiveSpaces Cluster Discover URL
Multicast (PGM) Cluster Member Discovery
Unicast (Well-Known Address) Cluster Member Discovery
Legacy ActiveSpaces Cluster Listen URL
Remote Client to a Legacy ActiveSpaces Cluster
Connecting an Inference Agent as a Remote Client to a Legacy ActiveSpaces Cluster
Legacy ActiveSpaces Cluster Transport Security
Setting Up Legacy ActiveSpaces Cluster Security and Authentication
Working with an Example
Schema Model Migration with Shared Nothing Persistence
Legacy ActiveSpaces Cache OM Settings Reference
Legacy ActiveSpaces Cluster Configuration Properties Reference
Persistence Options
Asynchronous Replication of Cache Objects
Setting Up Shared Nothing Persistence
Runtime Configuration to Specify the Engine Name Property
Recovery Options for Shared Nothing Persistence
Store Configurations
Configuring Backing Store for Cache OM
CDD Cluster Tab Backing Store Properties Reference
Configuring ActiveSpaces as a Store Provider
Backing Store Setting Reference for the ActiveSpaces Store
Configuring Apache Cassandra as a Store Provider
Backing Store Settings Reference for Apache Cassandra
Enabling Advanced Settings For Apache Ignite and Apache Cassandra
Structure of the store.xml File
Custom Store
Creating a Custom Store
Domain Objects Configuration
Configuring Preloading Options
Domain Objects Default Settings Reference
Domain Object Override Settings Reference
Application Metrics Configurations
Integrating TIBCO BusinessEvents with InfluxDB and Grafana
Configuring InfluxDB as a Metrics Store
Configuring TIBCO LiveView as a Metric Store
Adding Entity Configurations for Metric Stores
Custom Application Metrics Store
Creating a Custom Application Metrics Store
Structure of the metrics-store.xml File
Collections, Agent Classes, and Processing Units
Configuring Collections of Rules, Rule Functions, and Destinations
Updating Collections
CDD Collections Tab Input Destination Settings Reference
Agent Classes (All OM Types)
Adding an Agent Class
CDD Agent Classes Tab Settings Reference
CDD Agent Classes Tab Properties Reference
Log Configurations
Configuring Log Configurations
Overriding the Default Logging Mode
Custom Log4j Configuration Examples
CDD Collections Tab Log Configurations Settings Reference
Logging for the Legacy ActiveSpaces Cluster
Configuring the Date Format in the Log Files
Processing Units (All OM Types)
Adding a Processing Unit
Processing Units Configuration Settings
Load Balancer
Content-Aware Load Balancing
Content-Aware Load Balancer
Creating the Load Balancer
Configuring the Receiver
Load Balancer Configuration Fields
Configuration Properties Reference
JMS Server Connection Properties
StreamBase Channel Connection Properties
Property for Cache Based Object Management on AIX
Cache and Store Advanced Properties
Apache Cassandra Advanced Properties
Apache Ignite Advanced Properties
TIBCO BusinessEvents WebStudio Concepts
Rules Management Server (RMS)
TIBCO BusinessEvents WebStudio Overview
Virtual Rule Functions and Decision Tables
Rule Building with Decision Tables
Rule Template and Business Rule
Rule Building with Business Rules
WebStudio and RMS User Workflow
Decision Table Overview
Configuring RMS
Adding a Project to RMS
Configuring RMS Server Properties
Enabling Remote Connection to RMS from WebStudio
Enabling SSL Authentication in RMS
Enabling One-way SSL Authentication in RMS
Enabling Two-way SSL Authentication in RMS
Updating Shared JDBC Connection in Runtime
Defining Temporary Files Storage Folder for RMS
RMS Server Configuration Property Reference
Integrating Custom Repository with RMS
Basic User Workflow in TIBCO BusinessEvents WebStudio
Starting RMS and Signing-in to WebStudio
Status Check for RMS Connection
TIBCO BusinessEvents WebStudio Dashboard Reference
Importing a Project to TIBCO BusinessEvents WebStudio
Checking Out an RMS Project
RMS Projects and Artifact Management Tasks
Artifact Explorer Panel Reference
Synchronizing a Project from RMS Repository
Synchronize Artifact Details Window Reference
Synchronizing Artifacts Changes into RMS
Locking and Unlocking an Artifact
Reverting Artifact Updates
Committing Artifacts for Approval
Viewing History of an Artifact
Viewing Audit Trail of an Artifact or Project
Generating the Project Deployable Files
Generated Files Location
Exporting Artifacts from TIBCO BusinessEvents WebStudio
Removing a Project from Workspace
Managing Decision Tables
Creating a Decision Table
Decision Table Editor Reference
Analyzing a Decision Table
Validating a Decision Table
Validating a Decision Table Using Test Data
Column Options for Decision Tables
Exporting a Decision Table
Importing a Decision Table
Supported Operators
Business Rules
Creating a Business Rule
Adding a Business Rule Using the HTML Form
Adding a Conditional Clause by Using the Condition Builder
Business Rule Operators
Adding an Action Using the Command Builder
Business Rule Editor Reference
Domain Models
Domain Models in Decision Table Cells
Editing Domain Models
Approval Workflow Overview
Dashboard Reference for Working with Unresolved Artifacts
Approving or Rejecting a Commit Request from the Worklist
Delegating a Workitem from the Worklist
Comparing the Committed and Previous Version of Artifacts
Deleting Workitems from the Worklist
Deploying an Updated Artifact to the Application
WebStudio Management
Settings Page Reference
Personal Preferences Settings
Operator Settings
Notification Settings
Managing Users
Managing Roles
Managing Locks
Managing Reports
Changing Language of the TIBCO BusinessEvents WebStudio
Database Concepts Overview
Table Constraints and Concept Relationships
Prerequisites for Importing Database Tables or Views
Importing Database Tables or Views With the DB Import Utility
Importing Selected Database Tables
Importing Domain Model Information from a Database Concept
Configuring Database Concepts
Configuring Database Concepts Metadata Properties
Metadata Properties Reference
Configuring the Database Connection
Database Connection Configuration Reference
Setting the Object Management Mode of a Database Concept
Enabling or Disabling Database Concepts in a Processing Unit
RDBMS Catalog Functions
The setCurrentConnection and unsetConnection Functions
Transactions
Insert Operations
Using Generated Unique Primary Keys for Inserts
Update and Delete Operations
update()
delete()
Query Operations
queryUsingConceptProps()
queryUsingPreparedStmt()
queryUsingPrimaryKeys()
queryUsingSQL()
Database Concept Assertion After Database Query
Prepared Statements
Database Cursor Functions
createQuery()
getNextPage() and getPreviousPage()
getNextPageFromOffset() and getPreviousPageFromOffset()
closeQuery()
Oracle Catalog Functions
State Modeler
State Modeler Functions
State Models and Concepts
State Models and Rules
State Machines at Runtime
Types of States
Adding Regions in a Concurrent State
Transitions
Call State Machine Resource
State Model Timeouts and State Timeouts
The Timeout Period
State Timeout Scheduler Controls
Runtime Behavior
Multiple Pending Timeouts
State Timeout - Next State Choices
Locking (and Loading) in Timeouts
Working with State Modeler
Adding State Models
Removing and Changing State Model Ownership
Removing a State Model from Ownership of a Concept
Reassigning a State Model to a Different Concept
Outlining a State Model
Guidelines for Adding Transitions
State Model Preferences
Configuring Nodes
Configuring a State
Configuring a Call State Model Node
Configuring Transitions
Defining Timeouts
Defining Timeout for a State Model
Defining Timeout for a State
Controlling the Start of a State Machine
Searching State Model Entities
State Model Resource Reference
General Tab
Timeout Expression Tab
Timeout Action Tab
State Resource Reference
General Tab
Entry Action and Exit Action Tabs
Timeout Tab
Timeout Expression Tab
Timeout Action Tab
Call State Model Resource Reference
TIBCO BusinessEvents Decision Manager Overview
Decision Manager Without RMS
Technical User Tasks
Decision Manager and RMS User Workflow
Decision Manager User Interface
Configuring Decision Manager and RMS
Enabling Remote Connection to RMS from Decision Manager
Defining the RMS Server Host Location
Setting RMS Server Host Location in Decision Manager
Configuring One-Way SSL Authentication Between RMS Server LDAP Server and Decision Manager Client
Configuring SSL-Based HTTP Communication Between Decision Manager And Rule Management Server
Configuring the Decision Manager Component Properties
Decision Manager Component Property Reference
Setting Application Preferences
Decision Table Related Preferences
Working with RMS Projects and Artifacts in Decision Manager
Starting and Logging in to RMS
Checking Out a Project
Updating (Synchronizing) a Project
Committing Artifacts
Committing Project Artifacts to RMS at the Command Line
Viewing the History of RMS Artifacts
The History View Reference
Comparing and Merging Artifacts
Reverting to a Master Copy
Rule Building with Decision Tables
Working with Decision Table
Adding a Decision Table
Setting Decision Table Properties
Viewing Decision Trees
Deleting Decision Tables
Setting the Decision Table Effective Period
Comparing and Merging Decision Tables
Compare Editor Buttons
Columns and Rows (Rules) in a Decision Table
Working With Decision Table Rules (Rows) and Columns
Adding Decision Table Condition and Action Columns
Defining Custom Columns Using Substitution
Arrays in Columns
Moving Resizing and Sorting Columns
Setting Default Value in Decision Table Column
Deleting Rows and Columns
Duplicating Rules (Rows)
Merging Rows
Setting Rule (Row) Priorities
Filtering Rows
Domain Models in Table Cells
Catalog Functions in Table Cells
Setting the Date-Time Values Using the Calendar Dialog
Supported Operators
Exporting and Importing Decision Tables
Exporting a Decision Table to a Microsoft Excel File
Exporting Decision Tables to the Microsoft Excel Files at the Command Line
Importing the Microsoft Excel File to a Decision Table
Importing the Microsoft Excel File to a Decision Table at the Command Line
Converting a CSV File to a Microsoft Excel File with the Studio Tools Utility
Microsoft Excel File Format for Decision Tables
Decision Tables Validation
The Analyze Table Tool
The Show Coverage Tool
The Generate Test Data Tool
Auto-Fixing Issues
Setting Table Analyzer Preferences
Validating a Decision Table Using Test Data
Validating a Decision Table at the Command Line
Generating and Deploying Decision Table
Configuring for Deployment and Unloading of Decision Table Classes
Configuring for Loading and Deployment of Decision Table Classes
Configuring for Hot Deployment and Unloading of Decision Table Classes
Configuring RMI Properties for Remote Invocation
Generating Deployable Files (EAR and Class Files)
Generating the Project EAR or All Project Class Files
Generating One Decision Table’s Class File at the Command Line
Generating All Project Class Files at the Command Line
Deploying and Unloading Decision Table Class Files
Hot Deploying External Classes Using JMX
Advisory Events for Deployment Success and Failure
Generated Files Location
Pattern Matcher Feature Overview
Comparison of Pattern Matcher and Other Components
Pattern Matching Functions in a Project
Success and Failure Listeners (Callback Functions)
Function Documentation
Advanced Listeners
Listener Required Signature
Pattern Matching Examples
Pattern Matcher Grammar
Define Pattern Clause
Using Clause
With Clause
Correlation or Subscription Value
With Clause and the Correlation Property
Correlation and Exact Match
Starts With Clause
Clauses for Explicit Temporal Constructs
Query Features Overview
Two Types of Queries—Snapshot and Continuous
Summary of Functions Used to Create and Execute Queries
Query From a Rule (in an Inference Agent)
Query as a Pre-filter
Query Language Components
Select Clause
Delete Clause
From Clause
Where Clause
Group by Clause
Order by Clause
Limit Clause
Stream Clause
Stream Policy
The Query Language Usage
Queries Construction and Query Results Usage
Query Function Catalog
Functions Within Queries
Bind Variables Usage
Lifecycle of a Query—Use of Query Functions
Query Definition Creation
Query Statement Opening
Bind Variables Value Setting (if Used)
Query Statement Execution
Obtain Results Using a Result Set
Obtain Results Using a Callback Rule Function
Statement Closing and Query Definition Deletion
Result Set Data Usage (Snapshot Queries)
Move the Cursor to the Next Row
Count of Records in Certain Result Sets
Callback Rule Function Data Usage
Execute with Callback Function
Execute with Batch Callback Function
The Callback Rule Function Required Signature
The Delete Query
Simple Snapshot Query Example
Simple Continuous Query Example
Example Showing Batching of Return Values (Continuous Queries)
Bind Variables in Query Text
Datatype Assignment to a Bind Variable
Collocated Inference Agents and Dynamic Query Agent Sessions
Collocated Query and Inference Agents
Dynamic Query Agent Sessions
Design Optimization
Reuse Existing Queries and Statements Whenever Possible
Improve Performance by Pre-fetching Objects (Cache Queries)
Optimize WHERE Clause Expressions
Use Indexing for More Efficient Cache Queries
Creating an Index Using a Domain Object Override Setting
Use Filtering for Efficient Joins (Cache Queries)
Effect of the Cache on Continuous Queries
Effect of Time on Cache Queries
Continuous Queries
Overview of Continuous Queries
Query Windows
Working With Implicit Windows
Working With Sliding Tumbling and Time Windows
Explicit Window Example (Cache Query)
Sliding Window Examples (Cache Queries)
Tumbling Window Examples (Cache Queries)
Time Window Examples (Cache Queries)
Event Stream Processing (ESP) Queries
Event Stream Processing Queries Overview
Example ESP Query Strings
Event Assertion in a Query Agent
Events Asserted Locally Feed Second-Level Queries
Some ESP Query Use Cases
Map and Reduce
ETL (Extract Transform Load) Pattern
Standalone ESP Project Configuration
Query Language Reference
Miscellaneous Terms Used in Syntax Diagrams
Syntax Diagrams
Operators for Unary Expressions
Operators for Binary Expressions
Operators for Other Expressions
Wildcards Datatypes Literals Identifiers and Keywords
Product Overview
Security in TIBCO BusinessEvents
Sensitive Configuration Data Protection
Online References
Glossary
TIBCO Documentation and Support Services
Legal and Third-Party Notices