---
title: End-to-End Process Tracking with Nodinite BPM
description: "How Nodinite BPM shows one business transaction across systems: log events bind to Services in the BPM cells, Search Fields an administrator configures make them searchable, and a Log View groups them. Explained with the Order-to-Cash demo."
---

# :fa-search: End-to-End Process Tracking

A business transaction, such as an order, passes through several systems, and each one logs its own events through a [Logging Agent][Logging Agents] or the [Log API][]. End-to-End Process Tracking is how :Nodinite: brings those events together and plots them on a [BPM][], so you see one order across all its steps instead of searching each system's log.

This page explains what has to be in place for that to work, using the [Order-to-Cash demo][O2C Demo]. To search a BPM as a user, see [Search log events from a BPM][].

![The Order-to-Cash BPM, Log Search, order number PIC-20261104-1300-0002, the seven steps from Order Received to Order Invoiced one by one with their events, then Show Details on Order Invoiced: Log Status 0, Message Type O2C.Order.Invoice/1.0, Endpoint ERP-Finance-Invoice-Send and its time, above the colored BPM, animated walkthrough (7.12)][Hero]  
*Animated walkthrough: search the Order-to-Cash [BPM][] for one order number and follow the order through all seven steps, ending on the last step's event Details.*  

## :fa-diagram-project: Understanding the Tracking Chain

You provide the correlation: a key that every event of the transaction carries, and the [Search Fields][] users search on. From there :Nodinite: works out by itself which BPMs can display the events of the interchange, with no binding to a BPM at design time; [Role][Roles] permissions and explicit [Log View][Log Views] associations can narrow that. Each link in the chain below is something you log or configure once:

<div class="mermaid">
flowchart LR
    A[fa:fa-bolt Integrations log events<br/>Endpoint · Message Type<br/>Payload · Context] --> B[fa:fa-gear Event bound to a Service<br/>via Transport Contract]
    A --> C[fa:fa-magnifying-glass Search Field Expressions<br/>extract Order Number]
    B --> E[fa:fa-arrow-progress Step on the BPM<br/>colored by Log Status Code]
    C --> D[fa:fa-hard-drive Log View<br/>search, then group by<br/>Application interchange id]
    D --> E
    style A fill:#2678BD
    style B fill:#3F827B
    style C fill:#E47528
    style D fill:#E47528
    style E fill:#93d16d
</div>

*Blue: logged by your integrations. Teal: Repository binding. Orange: administrator configuration. Green: the result on the BPM.*

### Key Components Explained

| Component | Role | O2C demo |
| --- | --- | --- |
| [Log Event][] | One logged occurrence, with an [Endpoint][Endpoints], a [Message Type][Message Types], a [Log Status Code][Log Status Codes], and optionally a payload (Body) and context properties. The format is defined in [JSON formatted Log Event][]. | One event per step, Message Types `O2C.Order.Received/1.0` to `O2C.Order.Invoice/1.0` |
| [Services][] and Transport Contracts | Decide which BPM cell an event belongs to. A Service's Transport Contracts tie an Endpoint and Message Type to it. | Created from the [Repository Binding][] in each event's context |
| [Search Fields][] and [Search Field Expressions][] | Make business values searchable. An administrator adds expressions per Message Type that read the payload ([XPath][], JSONPath, [RegEx][], CSV…), a context property ([Message Context Key][]), or a Log Event field ([field()][Formula field]). | **Order Number**, extracted from each step's message |
| [Log View][Log Views] | Selects the events you may search, and groups them into transactions by a group-by field. | **Order 2 Cash**, grouped by **Application interchange id** |
| [Log Status Codes][] | Set the step color. | `0` success; `-1337` on the step where an order stops |

### Why Grouping and Searching Are Separate

The group-by field and the Search Fields do different jobs. In the demo, users search on **Order Number** because that's what they know, while the Log View groups on **Application interchange id**, a Log Event field that every event of one order carries regardless of message format. The result is presented per group, so you pick an order, not a single event.

### What the Log View Looks Like

The O2C Log View **Order 2 Cash** groups on **Application interchange id**. Turn on **Lock group by** in your own Log View so users can't break the grouping the BPM relies on; in the demo it is left **Unlocked**:

![Grouping tab of the O2C Log View Order 2 Cash: Lock group by unchecked (Unlocked), group by Application interchange id (7.12)][4]  
*The group-by field defines the transaction; locking it keeps every user on the same definition.*  

On the **Search criteria** tab, **Auto Start Search** runs the search when the page opens, and the [Time Interval Configuration][Time Interval Configurations] sets the default range:

![Search criteria tab of the O2C Log View Order 2 Cash: Time Interval Configuration One Year, Auto Start Search checked, Default search setup Application interchange id Contains 0002, and the optional fields Order Number and O2C - Order ID (7.12)][5]  
*The **Default search setup** pre-fills Application interchange id. Users can search on two optional fields: **Order Number** (the Application interchange id under a business name) and **O2C - Order ID** (the order id from the message).*  

See [Log Views for BPM search][Add or manage BPM - Log Views] for the recommended settings.

## :fa-eye: What You See

Search from the BPM with [BPM Log Search][Search log events from a BPM] :new7.11:, or open a grouped Log View. The events of the selected group are listed, and each step with events takes the color of its Log Status Code. A Service shape is colored only when the group holds events whose Service is that Service; steps with no events keep the default gray.

![BPM Log Search with order PIC-20261104-1300-0002 picked: seven events and every step of the Order-to-Cash BPM colored (7.12)][2]  
*Order PIC-20261104-1300-0002 passed all steps, so every Service shape is colored; the lightbulbs show the monitoring state of the Services' [Resources][].*  

When several groups match, you choose which one to plot:

![BPM Log Search in the Log View Order 2 Cash listing 6 groups by Order Number, three of them in Error, with a Log View picker next to Searching in (7.12)][3]  
*Each row is one order (group), with its event count and first and last log time.*  

In a grouped Log View the same events appear with every BPM that matches them:

![BPM Viewer opened from a grouped Log View, with the events of order PIC-20261104-1300-0002 above the swimlane BPM (7.12)][1]  
*A grouped Log View showing the process state and history of one transaction.*  

With [Hierarchical BPMs][] :new7.3:, a grouped Log View matches events from the master process and its sub-processes. From the group header you open the parent BPM or one of its sub-processes; when you click into a sub-process from the parent BPM, a button takes you back to the parent.

## :fa-triangle-exclamation: When a Step Stays Gray

| Check | Why |
| --- | --- |
| The event was logged, in the Log View's time range | No event, no color. Use [Non-Events Monitoring][] to alert on milestones that don't arrive. |
| The event's Endpoint and Message Type are bound to the Service in that cell | Otherwise the event isn't placed on the BPM. |
| The event carries the same group-by value as the rest of the transaction | Otherwise it lands in another group. |
| A Search Field Expression exists for the event's Message Type | Otherwise searching on the business value can't find it. Search Fields can [re-index][Search Fields] historical events after you add an expression. |

A gray step **between** colored ones is a different signal. If later steps of the same order have events but an earlier one doesn't, the message most likely did pass that step, but something changed at run time, such as a new Endpoint or Message Type. Inspect the step's events and adjust the Service's Transport Contracts; because binding is resolved when the BPM is displayed, the step colors as soon as the contract matches.

## :fa-list-check: Practices That Pay Off

* **Log at business milestones**, such as Order Received or Order Invoiced, not every technical hop. One event per BPM step keeps the picture readable.
* **Carry one transaction key on every event**, in context or as a Log Event field, and group the Log View by it. Business values change shape between systems; a technical key doesn't.
* **Set Log Status Codes that reflect the business outcome**, so a red step means something to the business reader.
* **Use [Search Field Links][] for the next hop**: they turn an extracted value, such as an order number, into a link to the record in your ERP or CRM.

## :fa-hand-point-right: Next Steps

* :fa-magnifying-glass: [Search log events from a BPM][]  
* :fa-cart-shopping: [Order-to-Cash demo][O2C Demo]  
* :fa-magnifying-glass: [Search Field Expressions][]  

## :fa-link-horizontal: Related Topics

* :fa-arrow-progress: [Business Process Model (BPM)][BPM]  
* :fa-project-diagram: [What is the BPM Designer][]  
* :fa-hard-drive: [Log Views][]  
* :fa-flag: [Log Status Codes][]  
* :fa-tags: [Message Types][]  
* :fa-sitemap: [Hierarchical BPMs][]  
* :fa-display: [Integrated Monitoring][]  
* :fa-circle-question: [FAQ: How does BPM correlate events?][FAQ correlate]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/BPMs/LogViewExample.png
[2]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/BPMs/LogSearch_ResultWithSingleMatch.png
[3]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/BPMs/LogSearch_ResultWithMultipleGroups.png
[4]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/BPMs/O2C/LogView_GroupingTab.png
[5]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/BPMs/O2C/LogView_SearchCriteriaTab.png

[Add or manage BPM - Log Views]:{ndr}/Getting%20Started/4.%20Repository/BPMs/Add%20or%20manage%20BPM.md#log-views-for-bpm-search
[BPM]:{ndr}/Repository%20Model/BPMs/Overview.md
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md
[FAQ correlate]:{ndr}/Repository%20Model/BPMs/Troubleshooting/FAQ%20-%20How%20does%20BPM%20correlate%20events.md
[Formula field]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Formula/Source/field.md
[Hero]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/BPMs/BPM_EndToEndTracking.gif
[Hierarchical BPMs]:{ndr}/Repository%20Model/BPMs/Features/Hierarchical%20BPMs.md
[Integrated Monitoring]:{ndr}/Repository%20Model/BPMs/Features/Integrated%20Monitoring.md
[JSON formatted Log Event]:{ndr}/Core%20Services/Log%20Event/Features/JSON%20Log%20Event.md
[Log API]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Status Codes]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Status%20Code.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Logging Agents]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Agent.md
[Message Context Key]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Message%20Context%20Key.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Non-Events Monitoring]:{ndr}/Logging%20and%20Monitoring/Non-Events/Overview.md
[O2C Demo]:{ndr}/Repository%20Model/BPMs/Examples/Order-to-Cash/Overview.md
[RegEx]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Formula/Extract/regex.md
[Repository Binding]:{ndr}/Core%20Services/Log%20Event/Features/Repository%20Binding.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Search Field Expressions]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Overview.md
[Search Field Links]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/What%20is%20a%20Search%20Field.md#fa-arrow-up-right-from-square-jump-to-external-systems-with-search-field-links
[Search Fields]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/What%20is%20a%20Search%20Field.md
[Search log events from a BPM]:{ndr}/Getting%20Started/4.%20Repository/BPMs/Search%20log%20events%20from%20a%20BPM.md
[Services]:{ndr}/Repository%20Model/Services/Overview.md
[Time Interval Configurations]:{ndr}/Administration/4.%20Customize/4.%20Time%20Interval%20Configurations/Features/What%20is%20a%20Time%20Interval%20Configuration.md
[What is the BPM Designer]:{ndr}/Repository%20Model/BPMs/Features/What%20is%20the%20BPM%20Designer.md
[XPath]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Formula/Extract/xPath.md