---
title: Order-to-Cash (O2C) Process Demo - Complete Package with About 1,070 Events
description: "Complete Order-to-Cash demo package: 100 order interchanges across 4 business domains, logged as Nodinite Log Events with Repository Binding to build the integration landscape and BPM automatically."
---

# Order-to-Cash (O2C) Process Demo - Complete Package

This demo showcases an **Order-to-Cash (O2C) business process** ([BPM][BPMs]) using <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Events][JSON formatted Log Event] and the [Log API][LogAPI]. The scenario follows a complete order lifecycle from the initial customer order through the final invoice, and shows how to log business transactions across multiple [Domains][], [Systems][], and [Services][] in multiple message formats (JSON, XML, flat files).

The package features **100 order interchanges** that follow a probabilistic happy-path scenario and generate approximately **1,070 [Log Events][]** for analysis and visualization in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>. 100 is the script's default; its `-OrderCount` parameter sets the number, so your environment may hold more or fewer orders.

![Order-to-Cash demo tour from the BPM Designer to a grouped Log View and one order rendered as a business document, animated walkthrough (7.13)][2]  
*Animated walkthrough: the Order-to-Cash [BPM][BPMs] in the Designer, then a grouped [Log View][Log Views] where a search on **O2C - Order ID** = `ORD-10005` finds the order, and **View message formatted as** 'O2C - View Order' renders it as an Order Report. Every run of the demo script logs the order again with its own interchange id, so the search returns one group per run, newest first.*  

![BPM Viewer opened with Show BPMs from the grouped Log View, one order lit from Order Received to Order Invoiced across the Sales, Planning, Logistics, and Finance domains (7.13)][1]  
*One order in the [BPM][BPMs] Viewer: the seven steps across four Domains, with the order's events on each step. See [Follow one order in Nodinite][O2C Follow One Order].*  

## <i class="fal fa-briefcase" aria-hidden="true"></i> Business Context

The Order-to-Cash process is a typical enterprise integration scenario where customer orders flow through four business [Domains][]:

* **Sales Domain** - Customer order reception and delivery confirmation
* **Planning Domain** - ERP order entry and production scheduling
* **Logistics Domain** - Order fulfillment and delivery
* **Finance Domain** - Invoice generation and accounting

Each step generates Log Events that create an **audit trail**, enable **real-time monitoring**, and populate the [Repository Model][] with integration landscape metadata through the [Repository Binding][] context option.

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>⚠️ <strong>Critical</strong>: To enable automatic landscape creation from Log Events, set the <a href="https://docs.nodinite.com/administration/settings/system-parameters/overview/">System Parameter</a> <a href="https://docs.nodinite.com/administration/settings/system-parameters/allowrepositoryautomapping/"><code>AllowRepositoryAutomapping</code></a> to <code>true</code>. This is the point of the demo: each Log Event carries a <a href="https://docs.nodinite.com/core-services/log-event/features/repository-binding/">Repository Binding</a> JSON structure that <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> uses to build and maintain your integration landscape (Systems, Services, and service relations) without manual configuration.</p></div>
</aside>

## <i class="fal fa-chart-line" aria-hidden="true"></i> What You Gain

|Approach|Result|
|---|---|
|❌ Without Repository Binding|You must create all Systems, Services, and relations manually in the [Web Client][]|
|✅ With Repository Binding|<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> builds the landscape automatically from logging|

With the landscape built from logging, every order becomes something the business can follow: a row in a grouped [Log View][Log Views], a path through the BPM, a timeline of where it waited, and the message behind each step.

By completing this demo, you will understand:

* ✅ JSON Log Event structure (mandatory + optional fields)  
* ✅ Multi-format message handling (JSON, XML, flat files)  
* ✅ Base64 payload encoding  
* ✅ Context Property usage  
* ✅ Correlation ID patterns  
* ✅ DateTime time zone handling  
* ✅ Log Status codes  
* ✅ HTTP request structure to the Log API  
* ✅ Repository Binding automation  
* ✅ BPM workflow visualization  
* ✅ End-to-end process tracing  
* ✅ Business metrics extraction  

## <i class="fal fa-diagram-project" aria-hidden="true"></i> Understanding the O2C Demo Architecture

<div class="mermaid">
graph LR
    Script["fa:fa-terminal PowerShell demo script"] --> LogAPI["fa:fa-cloud-arrow-down Log API"]
    LogAPI --> LS["fa:fa-gears Logging Service"]
    LS --> Repo["fa:fa-sitemap Repository Model<br/>Integration, Systems, Services"]
    LS --> BPM["fa:fa-diagram-project BPM<br/>INT1337 - Order-to-Cash Flow"]
    LS --> LV["fa:fa-magnifying-glass Log Views<br/>Search Fields"]
    Repo --> C4["fa:fa-diagram-project C4 Diagram Set<br/>Order-to-Cash Demo"]
    BPM --> C4
    style Script fill:#9E59BB
    style LogAPI fill:#2678BD
    style LS fill:#3F827B
    style Repo fill:#93d16d
    style BPM fill:#93d16d
    style LV fill:#93d16d
    style C4 fill:#E47528
</div>

*The demo script (purple) posts Log Events to the [Log API][LogAPI] (blue); the [Logging Service][] (teal) reads the Repository Binding and builds the Repository Model, the BPM, and searchable Log Events (green). See [Search Fields][]. <sup><span class="nodinite-new-badge">New 7.12</span></sup> From the Repository Model and the BPM you build the [C4 Diagrams][] set *Order-to-Cash Demo* (orange) in the product: import the taught examples, click [C4 Dynamic][C4 Dynamic] on the BPM, and run [Generate from Integration Landscape][] ([Build the Order-to-Cash C4 set][]).*

## <i class="fal fa-folder-tree" aria-hidden="true"></i> What's in This Example

|Page|What it holds|
|---|---|
|[O2C Demo: Process Steps, Systems, and Services][O2C Process]|The seven milestones and their [Message Types][], the Systems, the 14 paired Services and their forwarders, and the Domain transitions|
|[O2C Demo: Log Event Structure][O2C Log Event Structure]|The fields and Context Properties of each Log Event, the [Log Agent][Log Agents] settings, the Log API call, the Correlation ID format, Log Status codes, a full example, and the Search Fields to extract|
|[O2C Demo: Repository Binding][O2C Repository Binding]|The Repository Binding JSON, what each property means, and how the Logging Service builds the landscape and BPM from it|
|[O2C Demo: Data Generation][O2C Data Generation]|The sample orders, customers, and products, and how the script decides which steps each order completes|
|[Generate O2C Demo Data][Generate-O2C-Demo-Data]|Run the script: parameters, customers and products, and grouping the orders|
|[Generate O2C Demo Data Script][Generate-O2C-Demo-Data-Script]|The PowerShell script source|
|[O2C Demo: Follow One Order][O2C Follow One Order]|Follow one order in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> through the BPM, the timeline, and the event details|
|[Integration Landscape][Integration-Landscape]|The Systems, Services, and service relations as a topology|
|[BPM Expected Layout][]|How the steps appear in the BPM matrix|
|[O2C C4 Diagrams][O2C-C4-Diagrams]|The six taught C4 diagrams: System Landscape (L0), Portal's Context (L1) and Container (L2), the Component (L3) of INT1337-RCV-Order-Incoming, the Dynamic, and the Deployment|
|[Build the Order-to-Cash C4 set][]|The full demo set of 25 C4 diagrams, built through the product with zero stored links|
|[O2C Demo Stylesheets][Stylesheets]|Stylesheets that render the messages as business documents|
|Steps [1][1-Order-Received], [2][2-Order-Entry], [3][3-Order-Confirmation], [4][4-Order-Planned], [5][5-Order-Ready], [6][6-Order-Shipped], [7][7-Order-Invoiced]|One page per step: the message sample (JSON, XML, CSV, or PSV), the business data, and the Context Properties|

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

* <i class="fal fa-diagram-project" aria-hidden="true"></i> [O2C Demo: Process Steps, Systems, and Services][O2C Process] - The seven steps and who runs them  
* <i class="fal fa-terminal" aria-hidden="true"></i> [Generate O2C Demo Data][Generate-O2C-Demo-Data] - Run the PowerShell generator script to create realistic O2C interchanges  
* <i class="fal fa-eye" aria-hidden="true"></i> [O2C Demo: Follow One Order][O2C Follow One Order] - See one order in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>  
* <i class="fal fa-map" aria-hidden="true"></i> [Integration Landscape][Integration-Landscape] - Review the Systems, Services, and service relations  
* <i class="fal fa-inbox" aria-hidden="true"></i> [1. Order Received from Customer][1-Order-Received] - Examine each message format in Steps 1-7  
* <i class="fal fa-diagram-project" aria-hidden="true"></i> [BPM Expected Layout][] - Analyze the results: BPM visualization, service relations, and Search Field extraction  

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

* <i class="fal fa-file-code" aria-hidden="true"></i> [O2C Demo: Log Event Structure][O2C Log Event Structure]  
* <i class="fal fa-sitemap" aria-hidden="true"></i> [O2C Demo: Repository Binding][O2C Repository Binding]  
* <i class="fal fa-database" aria-hidden="true"></i> [O2C Demo: Data Generation][O2C Data Generation]  
* <i class="fal fa-book" aria-hidden="true"></i> [JSON formatted Log Event][JSON formatted Log Event]  
* <i class="fal fa-gear" aria-hidden="true"></i> [AllowRepositoryAutomapping System Parameter][AllowRepositoryAutomapping]  
* <i class="fal fa-layer-group" aria-hidden="true"></i> [Repository Model][]  
* <i class="fal fa-sitemap" aria-hidden="true"></i> [Repository Binding][]  
* <i class="fal fa-tower-broadcast" aria-hidden="true"></i> [Log API][LogAPI]  
* <i class="fal fa-layer-group" aria-hidden="true"></i> [O2C C4 Diagrams][O2C-C4-Diagrams]  
* <i class="fal fa-cubes" aria-hidden="true"></i> [Build the Order-to-Cash C4 set][]  
* <i class="fal fa-palette" aria-hidden="true"></i> [O2C Demo Stylesheets][Stylesheets]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/LogAPI/Demo/O2C_BPM.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/BPMs/O2C/O2C_Overview_Tour.gif

[1-Order-Received]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/1-order-received/
[2-Order-Entry]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/2-order-entry/
[3-Order-Confirmation]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/3-order-confirmation/
[4-Order-Planned]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/4-order-planned/
[5-Order-Ready]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/5-order-ready/
[6-Order-Shipped]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/6-order-shipped/
[7-Order-Invoiced]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/7-order-invoiced/
[AllowRepositoryAutomapping]:https://docs.nodinite.com/administration/settings/system-parameters/allowrepositoryautomapping/
[BPM Expected Layout]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/bpm-expected-layout/
[BPMs]:https://docs.nodinite.com/repository-model/bpms/overview/
[Build the Order-to-Cash C4 set]:https://docs.nodinite.com/repository-model/c4-diagrams/getting-started/examples/order-to-cash/build-the-order-to-cash-c4-set/
[C4 Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/overview/
[C4 Dynamic]:https://docs.nodinite.com/repository-model/c4-diagrams/overview/
[Domains]:https://docs.nodinite.com/repository-model/domains/overview/
[Generate from Integration Landscape]:https://docs.nodinite.com/repository-model/c4-diagrams/features/generate-from-integration-landscape/
[Generate-O2C-Demo-Data]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/generate-o2c-demo-data/
[Generate-O2C-Demo-Data-Script]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/generate-o2c-demo-data-script/
[Integration-Landscape]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/integration-landscape/
[JSON formatted Log Event]:https://docs.nodinite.com/core-services/log-event/features/json-log-event/
[Log Agents]:https://docs.nodinite.com/administration/log-management/log-agents/features/what-is-a-log-agent/
[Log Events]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[LogAPI]:https://docs.nodinite.com/core-services/log-api/overview/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[O2C Data Generation]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/o2c-data-generation/
[O2C Follow One Order]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/o2c-follow-one-order/
[O2C Log Event Structure]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/o2c-log-event-structure/
[O2C Process]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/o2c-process-and-services/
[O2C Repository Binding]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/o2c-repository-binding/
[O2C-C4-Diagrams]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/o2c-c4-diagrams/
[Repository Binding]:https://docs.nodinite.com/core-services/log-event/features/repository-binding/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Search Fields]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/
[Services]:https://docs.nodinite.com/repository-model/services/overview/
[Stylesheets]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/stylesheets/overview/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Systems]:https://docs.nodinite.com/repository-model/systems/overview/
[Web Client]:https://docs.nodinite.com/getting-started/overview/