O2C Demo: Repository Binding
Section titled “ O2C Demo: Repository Binding”This page is part of the Order-to-Cash demo. It explains the Repository Binding each Log Event carries, which is the point of the demo: Nodinite builds the Integration, Systems, Services, service relations, and the BPM from logging alone.
Repository Binding Context Options
Section titled “ Repository Binding Context Options”Each Log Event includes a Repository Binding JSON in the Context section that automatically creates the integration landscape. This mechanism turns raw Log Events into a documented, visualized integration landscape. The context key is ExtendedProperties/1.0#RepositoryBinding; Repository Binding and BPM Binding document every property.
Repository Binding Structure
Section titled “Repository Binding Structure”The structure for each step:
{ "Name": "Standard Transport Contract", "Service": { "Name": "INT1337-ServiceCode-Description", "Direction": "Receive|Send", "System": { "Name": "System Name" }, "Integration": { "Name": "INT1337 - Order-to-Cash" }, "ExternalServiceRelations": [ { "Name": "INT1337-PreviousService", "Direction": "Send", "System": { "Name": "Previous System Name" } } ], "InternalServiceRelations": [ { "Name": "INT1337-SameStepService", "Direction": "Receive", "System": { "Name": "System Name" } } ], "BPMs": [ { "Name": "INT1337 - Order-to-Cash Flow", "ArtifactRenaming": "Step Description", "Domain": { "Name": "Domain Name", "Index": 0 }, "Step": 0, "ServiceRelations": [ { "Name": "INT1337-RelatedService", "ArtifactRenaming": "Related Step Description", "Direction": "Send", "Step": 1, "Label": "To related step", "ConnectorStyle": 0, "SourceAttachmentPoint": 3, "TargetAttachmentPoint": 1, "System": { "Name": "Related System Name" }, "Domain": { "Name": "Related Domain Name", "Index": 1 } } ] } ] }}Key Concepts
Section titled “Key Concepts”- Service: Defines this step's Service (e.g.,
INT1337-RCV-Order-Incoming,INT1337-ENT-Order-Entry) - System: The System where the Service runs (e.g.,
Portal,ERP,WMS) - Direction:
ReceiveorSend- this demo uses only these two directions, but real-world scenarios may include other directions likeBoth,Unknown, etc. - ExternalServiceRelations: Links to Services in different Systems (cross-system connections). Added for
Receivedirection Services to reference the previousSendService that triggered this step - InternalServiceRelations: Links to Services in the same System (same-system connections). Added for
Senddirection Services to reference the pairedReceiveService in the same step - BPMs: Business Process Model array containing process flow metadata for visualization
- Domain: The business Domain and its index in the process flow (0=Sales, 1=Planning, 2=Logistics, 3=Finance)
- Step: 0-based step number in the process (0 for the first step, 1 for the second, etc.) - displays as 1-based in the UI. Note: Step numbers are always non-negative (0 or positive integers)
- ServiceRelations (BPM): Links to downstream Services, showing process flow arrows in the BPM. Each relation must include:
- Name: The name of the related Service
- Direction: The direction of the related Service (not the current Service). For example, if the current Service is "Receive" and points to a downstream "Send" Service, the Direction field is "Send"
- System: The System where the related Service runs
- Domain: The Domain where the related Service exists
- Step: The step number of the related Service (always 0 or positive)
- ArtifactRenaming: Display name for the related milestone in the BPM matrix
- Label: Text label for the connector arrow
- ConnectorStyle: Arrow style,
0to7(0=Arrow, the right-angle default); see the Connector Styles table
How the Logging Service Processes the Binding
Section titled “How the Logging Service Processes the Binding”The Logging Service reads the binding while it processes the event; the Web Client doesn't. It applies the binding when AllowRepositoryAutomapping is true and the Repository Parameter for each kind of item (Integrations, Systems, Services, and Contracts) allows it: AutomappingOperationsOnIntegrations, AutomappingOperationsOnServices, AutomappingOperationsOnSystems, and AutomappingOperationsOnContracts, each {"Create":true,"Update":true}. Create: false stops new items of that kind; Update: false leaves existing Services and Contracts as they are.

Animated walkthrough: Show Details on the Order Received event of order ORD-10005, the Context Values with ExtendedProperties/1.0#RepositoryBinding, then Repository > Integrations > INT1337 - Order-to-Cash and Services > INT1337-RCV-Order-Incoming, on the System Portal, in the Integration INT1337, with its Transport Contract. The Resources card is blurred.
For each event, the Logging Service:
- Creates the Integration when it doesn't exist. An existing Integration is never changed; the Service is only linked to it.
- Creates the System when it doesn't exist. A System is never updated or renamed. An existing Service gets a System only when it has none, and a Service never moves to another System.
- Creates the Service with its Direction, System, Integration, Transport Contract, and service relations. An existing Service gets the Integration link, the Transport Contract, and the relations added. The Transport Contract is named after the binding's
Name(Standard Transport Contract) and holds the event's Message Type and Endpoint. - Creates the Domain and the BPM when they don't exist, and gives the BPM its lanes, the step, and its connectors.
The Logging Service rereads AllowRepositoryAutomapping and the four Repository Parameters at most every 5 minutes, and applies an identical binding JSON once per 10 minutes. When a binding can't be applied, the Log Audit gets an entry There was a problem applying the Repository Binding for message with EventId ….
Items the binding creates get a description saying they were created from a Log Event. If you rename such an item, later events with the old name create it again.
| Approach | Result |
|---|---|
| ❌ Without Repository Binding | You must create all Systems, Services, and relations manually in the Web Client |
| ✅ With Repository Binding | Nodinite builds the landscape automatically from logging |
Next Steps
Section titled “ Next Steps”- Integration Landscape - The Systems, Services, and relations the binding creates
- BPM Expected Layout - The BPM the binding creates
- O2C Demo: Data Generation - Generate the events and see it happen