How to Call TIBCO BusinessEvents™ from a Process

The applications described demonstrate a simple interface between TIBCO ActiveMatrix BPM and TIBCO BusinessEvents.

TIBCO BusinessEvents applications can be exposed as web services that can be called by external applications. The business process in this tutorial calls TIBCO BusinessEvents via a web service invocation.

You can create a BusinessEvents application, implement a call to the BusinessEvents application via a web service in a business process application, and then deploy and test that application.

The tutorial is comprised of three sections:

  • Creating an TIBCO ActiveMatrix BPM application using structured data.
  • Creating a TIBCO BusinessEvents application.
  • Testing the integration between the two applications.

You should work through all the steps in each section in turn to complete the tutorial.

The BusinessEvents application is based on a decision table. The table implements a simple rule that examines activity on a bank account for fraud.

The deposit or withdrawal of more than $500 triggers an alert on the transaction.

The business process application sends the name of the account holder and the amount of the transaction to BusinessEvents for analysis, then receives a status message regarding the transaction in return.

Prerequisites

  • You are not expected to have any specific knowledge of TIBCO BusinessEvents in this tutorial. However, you should understand the general concepts and purpose of a rules engine.
  • You are familiar with business process design for TIBCO ActiveMatrix BPM using TIBCO Business Studio. Note that:
    • Structured data types will be referenced from the business process.
    • The input and output parameters used by the web service activity will be defined using JavaScript mapping.

Before You Begin

  • Install the following software (from the TIBCO Software Inc. Product Download Site) as per the documentation referenced within each product:
    • TIBCO ActiveMatrix BPM 1.1.0
    • TIBCO Business Studio - BPM Edition 3.5.0
    • TIBCO BusinessEvents Standard Edition 4.0.1
    • TIBCO BusinessEvents Decision Manager 4.0.1 (This should be installed into the same TIBCO_HOME as the TIBCO BusinessEvents Standard Edition.)
  • Configure TIBCO BusinessEvents Studio and TIBCO Business Studio BPM Edition to have their own unique workspace.
  • From TIBCO Business Studio BPM Edition, create and connect to an ActiveMatrix BPM server instance.