Configuring a TIBCO BusinessWorks™ App for Execution History

When you enable the Execution History Service for an organization, it publishes, stores, and retrieves execution statistics generated by remote TIBCO BusinessWorks apps. Those remote apps must be configured to leverage the Execution History Service and to allow the Hybrid Agent to discover them. Use the following app configuration example, to configure your own TIBCO BusinessWorks Apps for Execution History.

Note: To use this feature, TIBCO BusinessWorks™ Container Edition 2.7.0 or later is required.

This app configuration example assumes the following:

To configure the app:

  1. Download the TIBCO BusinessWorks™ Container Edition runtime zip file, such as bwce-runtime-2.7.0.zip, and copy it to <BWCE_HOME>/bwce/2.7/docker/resources/bwce-runtime.
  2. Run the following command from <BWCE_HOME>/bwce/2.7/docker:
    docker build -t bwce270hybrid .
  3. Edit the Dockerfile for the app. See Creating the TIBCO BusinessWorks™ Container Edition Base Docker Image for Linux Containers in the TIBCO BusinessWorks™ Container Edition documentation.
  4. Create an app image using the bwce270hybrid base image:
    docker build -t bwcetimerapp .
  5. Run the app image, and pass the environment variables for your Hybrid Agent and Fluentd sidecar. See Pushing TIBCO BusinessWorks™ App Execution History to a Local Database for more information on Fluentd. Use the sampleBWApplicationAutoRegd.yaml file in the Samples folder generated when you ran the connect manage command to configure your Hybrid Agent. See the configure manage section of the Hybrid Agent Command Reference page for information on the sample files.

    Environment variables:

    • TCI_HYBRID_FLUENTD_HOST=<Fluentd sidecar host>
    • TCI_HYBRID_FLUENTD_PORT=<Fluentd sidecar port>
    • ENABLE_EXECUTION_HISTORY_SERVICE=true

    Once your app discovered by the Hybrid Agent, execution statistics display on the TIBCO Cloud™ Integration App Details page in the Execution History tab. See Viewing Execution History for a TIBCO BusinessWorks™ App.

Related Topics

Configuring a Database for On-premises TIBCO BusinessWorks™ App Execution History

Pushing TIBCO BusinessWorks™ App Execution History to a Local Database

Downloading, Configuring, and Running the Hybrid Agent

Hybrid Agent Command Reference

Viewing Execution History for a TIBCO BusinessWorks™ App