Contact Free trial Login

Custom Business Event Component

You can use Custom Business Event (tracking:custom-event) components to add metadata and Key Performance Indicators (KPIs) to your flow.

  1. In your Mule app, add the Custom Business Event component to a flow.

  2. Click to open the component.

  3. Type values for Display Name and Event Name.

  4. Optionally, add Key Performance Indicators (KPIs) to capture information from the message payload:

    • Name (key) for the KPI (tracking:meta-data element).

      Enter a name that can be used in the search interface of Runtime Manager, and a value, which may be any Mule expression.

    • Expression / Value (value) for the KPI.

      Examples for a list of KPIs:

      Name Expression/Value

      Employee ID

      #[payload['ID']]

      Employee Email

      #[payload['Email']]

      Employee Git ID

      #[payload['GITHUB_ID']]

Note that key/value pairs can vary according to your business needs. Additional examples:

Name Expression/Value

price

700

price-after-discount

#[vars.price]

order-id

#[payload.order.header.orderID]

See Also

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.