---
title: "FAQ: Late Binding and Retroactive Modeling with Nodinite BPM"
description: Do you need BPMs before deploying? No. With late binding you draw a BPM over events already logged, change or delete it without data loss, and re-index Search Fields over historical events.
---

# Late binding and retroactive modeling with BPM

## :fa-circle-question: Quick Answer

A [BPM][] is a view over [Log Events][Log Event]. Nothing in your integrations refers to a BPM, so :Nodinite: binds events to the process when you look, not when you design. That is **late binding**:

| Question | Answer |
| --- | --- |
| Do I need BPMs before I deploy my integrations? | No. Log first, draw the BPM when you need it. |
| Can I draw a BPM over events that are already logged? | Yes. Those events show on the new BPM. |
| Does changing or deleting a BPM lose log data? | No. The events stay in the [Log Databases][]. |
| Can I add a [Search Field][Search Fields] later and search old events? | Yes. Re-index the [Message Types][] that need it. |

![A new two-step BPM drawn after the orders were logged: the Order Received and Order Entry Services added to its cells, saved, and BPM Log Search for order ORD-10005 showing its earlier events on both steps, animated walkthrough (7.13)][1]  
*Animated walkthrough: a new BPM with two steps and no [Services][] yet. Drag a Receive Service into Step 1 (Sales) and use **INT1337-RCV-Order-Incoming**, then a Send Service into Step 2 (Planning) with **INT1337-ENT-Order-Entry**. Save, then search order `ORD-10005` with [BPM Log Search][Search log events from a BPM]: its events, logged before the BPM existed, show on both steps.*  

## :fa-diagram-project: Understanding Late Binding

<div class="mermaid">
flowchart LR
    LE[fa:fa-database Log Events<br/>in Log Databases] --> LV[fa:fa-layer-group Log View<br/>groups by interchange id]
    LV --> B1[fa:fa-arrow-progress BPM drawn<br/>after go-live]
    LV --> B2[fa:fa-arrow-progress BPM changed<br/>or added later]
    SF[fa:fa-magnifying-glass Search Field<br/>added later + re-index] --> LV
    style LE fill:#2678BD
    style LV fill:#E47528
    style SF fill:#E47528
    style B1 fill:#93d16d
    style B2 fill:#93d16d
</div>

*Log Events are stored once (blue). [Log Views][] and Search Fields (orange) find them; every BPM (green) is a view you can add or change at any time.*

| Piece | Bound when |
| --- | --- |
| Log Event, in the [Log Databases][] | At logging time; a BPM never changes it |
| Service, whose [Transport Contracts][] place events in a BPM cell | When you view the BPM |
| [Log View][Log Views] group by, such as Application interchange id | When you search |
| Search Field, one [expression][Search Field Expressions] per Message Type | At logging time, or later through re-index |

More in [How does BPM correlate events?][FAQ correlate].

## :fa-rocket: Do I need BPMs before deploying?

No. Deploy, log, and draw later. The [Order-to-Cash demo][O2C Demo] logs 100 orders through the Log API without ever naming the **INT1337 - Order-to-Cash Flow** BPM; draw it in the [BPM Designer][] the same day or months later.

## :fa-clock-rotate-left: Can I draw a BPM over events already logged?

Yes. Matching runs when you look, so a new BPM shows events already logged that are bound to the Services in its cells. Nothing is stored per BPM, as the walkthrough above shows. Add a **Ready for Transport** step with the WMS Service, and orders that already passed it show it in their [Log Status Code][Log Status Codes] color. Two limits:

* Only events still kept show; retention is set per [Log Database][Log Databases].
* A step stays gray when no logged event matches its Service.

You can place a [Service][Services] in a cell before it has any [Transport Contracts][], and add or revise them at any time: events logged earlier appear on the step as soon as a matching Transport Contract exists, in the [Log Status Code][Log Status Codes] color of the events. If later steps of an order are colored but an earlier one is gray, something changed at run time, such as a new [Endpoint][Endpoints] or Message Type: inspect the events and adjust the Transport Contracts.

## :fa-shield-halved: Does changing or deleting a BPM lose log data?

No, there's no data loss. Renaming a BPM, moving Services between [Domains][], or adding and removing steps only changes how events are drawn. Deleting a BPM doesn't touch the underlying Services, [Resources][], or log data, and you can restore it later; see [Add or manage BPM][Delete BPM] and [Show deleted records][Show Deleted]. You can also keep [several BPMs over the same events][FAQ multiple].

## :fa-magnifying-glass: Can I add a Search Field later and search old events?

Yes. An administrator adds a [Search Field][Search Fields] with an expression per Message Type, tests it on real events, and then [re-indexes][Re-index] the historical events. No re-logging, no integration changes.

* Re-index only the Message Types that need it; it takes time on large databases.
* A started re-index can't be aborted, so test the expressions first. Read-only Log Databases are skipped.

## :fa-code-compare: Late Binding Compared

| Capability | :Nodinite: BPM | Design-time binding |
| --- | --- | --- |
| Define the process before tracking | Not needed | Required |
| Draw a process over events already logged | Yes | Not supported |
| Change the process without losing visibility | Yes | Changes can break processes or lose visibility |
| Search old events on a new field | Yes, re-index | Not supported |

[Azure Business Process Tracking][Azure BPT] and [Kovai Atomic Scope][Atomic Scope] both require the process (or templates and mappings) up front and lack retroactive modeling.

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

* :fa-pen-ruler: [Add or manage BPM][]  
* :fa-magnifying-glass: [Add or manage Search Field][Re-index]  

## :fa-link-horizontal: Related Topics

* :fa-arrow-progress: [Business Process Model (BPM)][BPM] - Main BPM overview  
* :fa-layer-group: [FAQ: Multiple BPM views over the same data][FAQ multiple]  
* :fa-scale-balanced: [Nodinite BPM vs Azure BPT][Azure BPT]  
* :fa-scale-balanced: [Nodinite BPM vs Kovai Atomic Scope][Atomic Scope]  
* :fa-list: [All FAQs][Troubleshooting Overview] - See all BPM FAQs  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/BPMs/BPM_FAQ_LateBinding.gif

[Add or manage BPM]:{ndr}/Getting%20Started/4.%20Repository/BPMs/Add%20or%20manage%20BPM.md
[Atomic Scope]:{ndr}/Repository%20Model/BPMs/Why%20Nodinite%20BPM%20is%20superior%20to%20Kovai%20Atomic%20Scope.md
[Azure BPT]:{ndr}/Repository%20Model/BPMs/Why%20Nodinite%20BPM%20is%20superior%20to%20Azure%20Business%20Process%20Tracking.md
[BPM]:{ndr}/Repository%20Model/BPMs/Overview.md
[BPM Designer]:{ndr}/Repository%20Model/BPMs/Features/What%20is%20the%20BPM%20Designer.md
[Delete BPM]:{ndr}/Getting%20Started/4.%20Repository/BPMs/Add%20or%20manage%20BPM.md#how-do-i-delete-a-bpm
[Domains]:{ndr}/Repository%20Model/Domains/Overview.md
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md
[FAQ correlate]:{ndr}/Repository%20Model/BPMs/Troubleshooting/FAQ%20-%20How%20does%20BPM%20correlate%20events.md
[FAQ multiple]:{ndr}/Repository%20Model/BPMs/Troubleshooting/FAQ%20-%20Multiple%20BPM%20views%20over%20same%20data.md
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/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
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[O2C Demo]:{ndr}/Repository%20Model/BPMs/Examples/Order-to-Cash/Overview.md
[Re-index]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Add%20or%20manage%20Search%20Field.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Search Field Expressions]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Overview.md
[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
[Show Deleted]:{ndr}/Administration/6.%20Tools/Show%20deleted%20records.md
[Transport Contracts]:{ndr}/Repository%20Model/Services/Overview.md#fa-microchip-transport-contracts-the-heart-of-service-definitions
[Troubleshooting Overview]:{ndr}/Repository%20Model/BPMs/Troubleshooting/Overview.md