- 3 minutes to read

Let Log Events Build the Model

Documentation written by hand starts going stale the day it's written. The cheapest way to keep the Repository Model true is to let the integrations describe themselves: every Log Event can carry the names of its Integration, Service, and System, and Nodinite creates and binds them as it logs.

  • ✅ Build the model from the traffic that actually runs
  • ✅ Tie every event to its Integration without a manual step
  • ✅ Place Services in a business process from the same events

Search the O2C order ORD-10001, open the newest run, open the Details of Order Received, open the Repository Model tab with its Transport Contract, Service, Contract and Integration, and click INT1337 - Order-to-Cash to reach the Integration's view page with the automatic-creation description, animated walkthrough (7.12)
Animated walkthrough: what a binding created. The event's Repository Model tab lists the Transport Contract, Service, Contract, and Integration, and the Integration's page says it was created automatically. Every field is on Repository Binding.

Understanding Binding from Log Events

flowchart LR App["fa:fa-plug Your integration
logs an event"] --> LS["fa:fa-gears Logging Service"] LS -->|"RepositoryBinding"| Model["fa:fa-sitemap Integration, Service,
System, Contract"] LS -->|"BPMs array"| BPM["fa:fa-project-diagram Service in a BPM
Domain and step"] LS -->|"Message Type, Endpoint"| TC["fa:fa-dot-circle Transport Contract
event bound"] style App fill:#9E59BB style LS fill:#3F827B style Model fill:#2678BD style BPM fill:#2678BD style TC fill:#93d16d

Your integration (purple) logs an event with Context Options. The Logging Service (teal) creates the Repository entities named in its RepositoryBinding value and places the Service in a BPM from its BPMs array (blue). It then matches the event's Message Type and Endpoint against the Transport Contracts, so the event is bound (green).

What Each Feature Does

Feature Creates or binds Read
Repository Binding Integrations, Services, Systems, and Contracts, from the context key ExtendedProperties/1.0#RepositoryBinding The JSON structure, the required fields, and the legacy keys
BPM Binding A Service's place in a BPM: its Domain and step, through the BPMs array of the Service The BPM object, service relations, and arrows
Logging itself Message Types and Endpoints that don't exist yet Context Options

Both bindings work only when the AllowRepositoryAutomapping System Parameter is true. Your events can carry BPM Binding data whether or not you have the BPM license: users see BPMs only once the license is in your product key.

Bind from Events, by Hand, or by Script

Approach Best for Keep in mind
Repository Binding in the Log Event Integrations you build or can change: the model follows what runs Names come from the event; rename in the binding, not in the Repository, or the next event creates the old name again
By hand in the Web Client Systems and integrations that don't log, owners, and descriptions Manual updates enhance the model; they aren't required for binding
The Web API Deployment pipelines that register what they deploy Create, update, and query every Repository entity from scripts

Rules

  • ✅ Turn on AllowRepositoryAutomapping in the environments where events should build the model.
  • ✅ Send one RepositoryBinding value with the Transport Contract name and its Service, System, and Integration, rather than the legacy individual keys.
  • ✅ Use a naming convention in the binding, because the names become the model; see Model Your Integration Landscape.
  • ✅ Add Custom Metadata, such as the owner, by hand on top; see Give Every Integration an Owner.
  • ❌ Don't rename a created entity in the Repository; change the binding instead.

The logging side, from what to log to correlation, is in Plan Your Logging with Nodinite.

Next Steps