Built-in Functions
For all the built-in functions, this section lists the main categories in each function catalog (but not sub-categories).
See TIBCO BusinessEvents Functions Reference for full details.
Standard Functions
The standard functions catalog contains the most used functions. The standard function catalog includes the following categories:
- Channel
- These functions return information about destinations, and can resume and suspend a destination.
- Cluster
- Cluster functions help with multi-engine functionality.
- Dashboard Function
- Dashboard functions process an incoming request to generate an appropriate response. Starts streaming updates, Stops streaming updates.
- DataGrid
- These functions are for use with Cache object management. See Cache Related Functions.
- Collections
- Collections functions allow you to deal with various collections structures. The functions names are:
- Date
- Date functions allow you to compare two DateTime values using only the date portion of the value.
- DateTime
- DateTime functions allow you to perform the date/time related tasks and more: add units of time to DateTime, compare, retrieve, and format dates and times.
- Engine
- Engine functions allow you to retrieve information about the engine, for example, available memory or the number of rules fired. The functions names are:
- Event
- Event functions allow you to assert, create, and send simple events and perform other event-related tasks, for example, return the default destination URI of a simple event.
- Exception
- Exception functions enable you to create exceptions.
- File
- File functions provide various useful functions used when working with files.
- HTTP
- HTTP functions are used with the HTTP channel. The Functions that belong to this grouop are named
- Instance
- Instance functions allow you to create and delete concept instances and perform other instance-related tasks, for example, return an instance given an internal ID. The functions belonging to this group are named:
- JSON
- JSON functions are used to parse JSON content and perform various operations on JSON node.
- Log
- Log functions allow you to write statements in logs.
- Math
- Math functions allow you to perform advanced mathematical operations.
- Metric Function
- Creates a new Metric instance based on the data provided in the XSLT Mapper and adds it to the working memory. Adding the instance to the working memory will cause any rule conditions that depend on the concept to be evaluated.
- Number
- Number functions allow you to perform type conversions from and to numbers and return the maximum and minimum values for a numeric type.
- SOAP
- SOAP functions enable you to work with SOAP messages sent through an HTTP channel.
- String
- String functions allow you to perform comparisons, searches, conversions, and other operations with strings.
- System
- System functions allow you to send messages to a debug log, retrieve global variables, retrieve system properties, and write data to a file. The functions that belong to this group are named:
- Temporal
- Temporal functions allow you to examine and perform calculations on values stored in a property’s history. For information about using temporal functions. The functions that belong to this group are named:
- Util
- Util functions category has one sub-category for working with HashMaps.
- VRF
- VRF functions (that is, Virtual Rule Function functions) allow you to work with decision tables. See TIBCO BusinessEvents Decision Manager User’s Guide for details.
- XPath
- XPath functions allow you to evaluate XPath expressions.
ActiveSpaces Functions
These functions allow you to interact with ActiveSpaces metaspaces. They are used with the ActiveSpaces channels to perform operations on the ActiveSpaces metaspace and spaces connected by the channel.
Process Orchestration Functions
These functions alow you to interact with process jobs. See TIBCO BusinessEvents Process Orchestration documentation for details.
CEP Analytics
You can call TIBCO® Enterprise Runtime for R engines and use their functionalities from BusinessEvents using Analytics catalog functions.
CEP Load Balancer Functions
Load balancer functions are used to configure and work with the load balancer. There are two types of load balancer functions:
CEP Pattern Functions
Pattern functions are used with the pattern matcher language for identifying patterns in events. See TIBCO BusinessEvents Event Stream Processing add-on Documentation for details.
CEP Query Functions
Query functions are used with the query language for querying data in the cache. See TIBCO BusinessEvents Event Stream Processing add-on Documentation for details.
CEP Store Functions
You can use the CEP Store catalog functions to interact with TIBCO ActiveSpaces 3.x data store.
The basic CEP store functions are as follows:
Apart from the basic functions, other functions are grouped into the following categories:
- Metadata - Functions to get details of store, container, and fields.
- ConnectionInfo - Functions to set up connection details for data store.
- Item - Functions to set or get data from store items.
- QueryOptions - Functions to cover prefetch size, snapshot consistencies, and so on.
- Transactions - Functions to enable or disable the transactional behavior. Additionally, if the transactional behavior is enabled, commit or rollback transaction.
- Util - Functions to check client version, edit log configurations, and set up a custom logger.
For more information on these catalog functions, see
in TIBCO BusinessEvents Functions Reference.Communication Functions
Communication functions provide a set of catalog functions that enables TCP communication. You can create a local TCP server and a TCP client so that TIBCO BusinessEvents can communicate with data sources not otherwise available through channels, using TCP.
DBMS Functions
Database functions are provided for working with database concepts. See TIBCO BusinessEvents Data Modeling for more on database concepts.