Skip to content
Documentation
Updated 4 minutes to read
Markdown

How does BPM correlate events across different systems?

Section titled “How does BPM correlate events across different systems?”

You give Nodinite a correlation key, and it does the rest: it matches by itself which BPMs can display the events of the interchange. Nothing in the logging code refers to a BPM, so you can add, change, or overlay BPMs later. Three pieces of configuration make it work:

  1. A Log View groups events by a field that every event of the transaction shares. In the Order-to-Cash demo that's Application interchange id, which the Order 2 Cash Log View shows under the name Order Number.
  2. Search Fields make business values searchable, such as the order number in the O2C - Order ID Search Field. An administrator adds a Search Field Expression per Message Type, reading the payload, a context property, or a Log Event field. No expression, no value.
  3. Services place each event on a step: the event's Endpoint and Message Type match a Transport Contract of the Service in a BPM cell.

Order ORD-10005 searched by O2C - Order ID in the Order 2 Cash Log View, one group opened on the INT1337 - Order-to-Cash Flow BPM with every step lit, and Show Details on the Order Entry event with the shared Application interchange id, animated walkthrough (7.13)
Animated walkthrough: in the Order 2 Cash Log View, switch to Advanced mode and search O2C - Order ID = ORD-10005. Each demo run logged the order under its own interchange id, so it shows as several groups. Click the BPM button of one group and open INT1337 - Order-to-Cash Flow: every step of that order lights up, with events from the Portal, the ERP, the WMS, and ERP-Finance. Show Details on the Order Entry event shows Order Number, the Application interchange id, that all its events share.

For the full picture, see End-to-End Process Tracking.

flowchart LR P[fa:fa-globe Portal
JSON] --> LE[fa:fa-bolt Log Events] E[fa:fa-building ERP
XML] --> LE W[fa:fa-warehouse WMS
flat file] --> LE LE --> SF[fa:fa-magnifying-glass Search Field
O2C - Order ID] LE --> G[fa:fa-layer-group Log View group by
Application interchange id] SF --> R[fa:fa-arrow-progress One order
on the BPM] G --> R style LE fill:#2678BD style SF fill:#E47528 style G fill:#E47528 style R fill:#93d16d

Different systems and formats log to Nodinite. The search on O2C - Order ID finds the order; the group-by key, the Application interchange id, collects all its events.

One order number can show as several groups: when the same order is logged in several interchanges, each interchange is its own group. The demo does this on purpose, because every run reuses the order numbers ORD-10001 and up with new interchange ids.

The O2C demo rotates its messages between JSON, XML, and flat file, yet one expression covers them all. Every event carries the order number as the context property OrderNumber, so the O2C - Order ID Search Field has a single Message Context Key expression applied to all nine O2C Message Types:

Search Field Expressions for O2C - Order ID: Message Context Key OrderNumber applied to nine O2C Message Types (7.11)
One context-key expression, nine Message Types, three payload formats.

When the value only exists in the payload, add one expression per Message Type with the plugin that fits the format:

Format Plugin Expression (illustration)
XML XPath //Order/OrderNumber
JSON JSON Path $.order.orderNumber
Flat file Flat File CSV column 2

To search on a Log Event field instead, such as the interchange id, use the Formula function field('ApplicationInterchangeId').

Test expressions on real events before you rely on them, and re-index if you add one after events are logged; see Search Fields.

Symptom Likely cause Fix
Search on O2C - Order ID finds nothing No Search Field Expression for the event's Message Type Add one, test it, and re-index
One order shows as several groups The order was logged in several interchanges, or its events don't share the group-by value Expected when the order was sent more than once; otherwise log the same key, such as an interchange id, on every event
Steps found but stay gray on the BPM Event not bound to the Service in that cell Check the Service's Transport Contracts, or the Repository Binding
The order number differs per system (10010 vs ORD-10010) Systems use different formats Normalize in the expression with Formula functions such as replace or substring

Search Field Links don't correlate events. They turn an extracted value into a link to an external system, such as the order in your ERP.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...