---
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

## <i class="fal fa-circle-question" aria-hidden="true"></i> Quick Answer

A [BPM][] is a view over [Log Events][Log Event]. Nothing in your integrations refers to a BPM, so <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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.*  

## <i class="fal fa-diagram-project" aria-hidden="true"></i> 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].

## <i class="fal fa-rocket" aria-hidden="true"></i> 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.

## <i class="fal fa-clock-rotate-left" aria-hidden="true"></i> 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.

## <i class="fal fa-shield-halved" aria-hidden="true"></i> 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].

## <i class="fal fa-magnifying-glass" aria-hidden="true"></i> 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.

## <i class="fal fa-code-compare" aria-hidden="true"></i> Late Binding Compared

| Capability | <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-pen-ruler" aria-hidden="true"></i> [Add or manage BPM][]  
* <i class="fal fa-magnifying-glass" aria-hidden="true"></i> [Add or manage Search Field][Re-index]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-arrow-progress" aria-hidden="true"></i> [Business Process Model (BPM)][BPM] - Main BPM overview  
* <i class="fal fa-layer-group" aria-hidden="true"></i> [FAQ: Multiple BPM views over the same data][FAQ multiple]  
* <i class="fal fa-scale-balanced" aria-hidden="true"></i> [Nodinite BPM vs Azure BPT][Azure BPT]  
* <i class="fal fa-scale-balanced" aria-hidden="true"></i> [Nodinite BPM vs Kovai Atomic Scope][Atomic Scope]  
* <i class="fal fa-list" aria-hidden="true"></i> [All FAQs][Troubleshooting Overview] - See all BPM FAQs  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/BPMs/BPM_FAQ_LateBinding.gif

[Add or manage BPM]:https://docs.nodinite.com/getting-started/repository/bpms/add-or-manage-bpm/
[Atomic Scope]:https://docs.nodinite.com/repository-model/bpms/why-nodinite-bpm-is-superior-to-kovai-atomic-scope/
[Azure BPT]:https://docs.nodinite.com/repository-model/bpms/why-nodinite-bpm-is-superior-to-azure-business-process-tracking/
[BPM]:https://docs.nodinite.com/repository-model/bpms/overview/
[BPM Designer]:https://docs.nodinite.com/repository-model/bpms/features/what-is-the-bpm-designer/
[Delete BPM]:https://docs.nodinite.com/getting-started/repository/bpms/add-or-manage-bpm/#how-do-i-delete-a-bpm
[Domains]:https://docs.nodinite.com/repository-model/domains/overview/
[Endpoints]:https://docs.nodinite.com/repository-model/endpoints/overview/
[FAQ correlate]:https://docs.nodinite.com/repository-model/bpms/troubleshooting/faq-how-does-bpm-correlate-events/
[FAQ multiple]:https://docs.nodinite.com/repository-model/bpms/troubleshooting/faq-multiple-bpm-views-over-same-data/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Status Codes]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-status-code/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[O2C Demo]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/overview/
[Re-index]:https://docs.nodinite.com/administration/log-management/search-fields/features/add-or-manage-search-field/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Search Field Expressions]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/overview/
[Search Fields]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[Search log events from a BPM]:https://docs.nodinite.com/getting-started/repository/bpms/search-log-events-from-a-bpm/
[Services]:https://docs.nodinite.com/repository-model/services/overview/
[Show Deleted]:https://docs.nodinite.com/administration/tools/show-deleted-records/
[Transport Contracts]:https://docs.nodinite.com/repository-model/services/overview/#fa-microchip-transport-contracts-the-heart-of-service-definitions
[Troubleshooting Overview]:https://docs.nodinite.com/repository-model/bpms/troubleshooting/overview/