---
title: "Step 6: Order Delivered — Order-to-Cash Log Event Example"
description: "Step 6 of Order-to-Cash: order delivery confirmation. Explore the PSV flat-file message format, proof of delivery tracking, correlation IDs, and how Nodinite Log Events complete the Logistics domain workflow."
---

# 6. Order Delivered

**Step 6** occurs when the order has been delivered to the customer and the receipt is confirmed. This step provides proof of delivery and marks the completion of the logistics part of the Order-to-Cash cycle. The [Log Event][JSON formatted Log Event] for this step stays in the Logistics [Domain][Domains].

![Order Delivered step of order ORD-10005 in BPM Log Search: Show Details on its event, then Context Values with the file name, order number, customer, amount, and Repository Binding, animated walkthrough (7.12)][1]  
*Animated walkthrough: in [BPM Log Search][Search log events from a BPM], open **Show Details** on the *Order Delivered* event of order `ORD-10005` (Tailspin Toys), then the **Context Values** tab with the step's business data. The walkthrough shows ORD-10005; the examples below use order 1.*  

## <i class="fal fa-diagram-project" aria-hidden="true"></i> Understanding Step 6

<div class="mermaid">
graph LR
    Prev["fa:fa-box Step 5: Order Ready<br/>WMS (Logistics)"] --> This["fa:fa-truck Step 6: Order Delivered<br/>WMS (Logistics)"]
    This --> Next["fa:fa-file-invoice-dollar Step 7: Order Invoiced<br/>ERP-Finance (Finance)"]
    This -->|"Log Event<br/>O2C.Order.Delivered/1.0"| LogAPI["fa:fa-cloud-arrow-down Log API"]
    style Prev fill:#2678BD
    style This fill:#E47528
    style Next fill:#2678BD
    style LogAPI fill:#3F827B
</div>

*Step 6 (orange) closes the logistics part: it follows packing, triggers invoicing (blue), and logs to the [Log API][] (teal).*

### Message Details

* **Message Type**: `O2C.Order.Delivered/1.0` ([Message Types][])
* **Domain**: Logistics ([Domains][])
* **System**: WMS ([Systems][])
* **Service**: INT1337-RCV-Order-Delivered ([Services][]); despite the `RCV` prefix, this is the Send Service of the step
* **Direction**: Send (outgoing from WMS)
* **Format**: Flat File (PSV - Pipe-Separated Values)
* **Log Status**: `0` (Success); `-1337` on the Send event when the order stops at this step
* **Timing**: In the generated data, 30-300 seconds after Step 5

### Log Events in This Step

Step 6 logs two [Log Events][] with the same `Body`. Only the business event appears in the [BPM][BPMs].

|SequenceNo (sent)|Service|Direction|EndPointName|Message Type|LogText|In BPM|
|---|---|---|---|---|---|---|
|11|INT1337-RCV-Order-Delivered-Incoming|Receive|WMS-Delivery-Receive|`O2C.Forwarding/1.0`|Order Delivered Received|❌ No|
|12|INT1337-RCV-Order-Delivered|Send|WMS-Delivery-Send|`O2C.Order.Delivered/1.0`|Order Delivered|✅ Yes|

The demo sends `SequenceNo` 1 to 14 per order. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> keeps that value as the event's `ServiceInstanceSequenceNo` and gives the event its own [SequenceNo][JSON formatted Log Event], a running number in the [Log Database][Log Databases].

### Business Data (Happy Path)

The data of the order from Step 1, here order 1. Other orders carry their own customer, product, quantity, and total, the same in every step (see [Generate O2C Demo Data][O2C Demo Customers]):

* **Order ID**: `ORD-10001` (same as source order)
* **Customer ID**: `CUST-001`
* **Product SKU**: `SKU-DEMO-001`
* **Quantity**: `1`
* **Order Total**: `USD 99.95`

## <i class="fal fa-file-lines" aria-hidden="true"></i> Sample PSV Message

This is the raw message payload that the Log Event carries base64-encoded in its `Body` field. Logistics systems commonly use PSV (pipe-separated values).

```plaintext
DeliveryConfirmationHeader
DeliveryId|DeliveryDate|CorrelationId|OrderId|CustomerID|CustomerName|ShippingAddress|DeliveryStatus
DLVY-2025-10001|2025-10-20T14:32:15Z|{PREFIX}-{DATEPART}-{HHMM}-{SEQUENCE}|ORD-10001|CUST-001|Contoso Corporation|100 Commerce Drive, Suite 100, Springfield, IL 62701|DELIVERED

DeliveryDetails
LineNumber|SKU|Description|QuantityOrdered|QuantityDelivered|Condition
1|SKU-DEMO-001|Demo Widget|1|1|GOOD

DeliveryProof
TrackingNumber|Carrier|DeliverySignature|DeliveryTime|RecipientName|ProofOfDeliveryLocation|PhotoUrl
TRK-20251016-10001|Standard Courier|ACM-AUTO-SIGN|2025-10-20T14:32:15Z|Auto-confirmed|Front Porch|https://pod.courier.example/2025/10/dlvy-10001.jpg

DeliveryFooter
OrderTotal|Currency|ReturnWindow|ReturnInstructions
99.95|USD|30|Visit returns.contoso.com
```

## <i class="fal fa-database" aria-hidden="true"></i> Nodinite Log Event (JSON formatted)

This step creates a Log Event that the demo sends to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log API][]. See [Log Event Reference][] for the O2C Log Event structure, and [JSON formatted Log Event][] for every field.

### Context Properties (Business Data)

The [Context Options][] carry the business data and the [Repository Binding][]:

```json
{
  "FileName": "ORD-10001-order-delivered.psv",
  "OrderNumber": "ORD-10001",
  "CustomerId": "CUST-001",
  "CustomerName": "Contoso Corporation",
  "OrderAmount": "99.95",
  "ExtendedProperties/1.0#RepositoryBinding": "..."
}
```

The DeliveryId, TrackingNumber, and delivery date stay in the message body, not in the Context.

## <i class="fal fa-file-lines" aria-hidden="true"></i> View the Message in Nodinite

With the demo [Stylesheet][O2C Stylesheet] installed, users read this pipe-separated message as a delivery note. In the BPM Viewer, or a [Log View][O2C Log Views], open **Action** on the *Order Delivered* event and choose **View message formatted as 'O2C - View Order Shipped'**.

![Delivery Note DLVY-2025-10005 rendered by the O2C - View Order Shipped Stylesheet (7.13)][2]  
*The message rendered by the Liquid [Stylesheet][O2C Stylesheet]: delivered-to address, proof of delivery, and the delivered items.*  

## <i class="fal fa-lightbulb" aria-hidden="true"></i> Key Points for Step 6

* **PSV Format**: Pipe-separated values provide a compact flat-file delivery confirmation
* **Proof of Delivery**: Includes signature, timestamp, recipient confirmation, and photo proof
* **Logistics Completion**: Marks the end of WMS involvement in the order lifecycle
* **Internal Service Relation**: The Send event's InternalServiceRelations links `INT1337-RCV-Order-Delivered` to `INT1337-RCV-Order-Delivered-Incoming` within the same WMS system, as every step's Send event does
* **Same-Domain Flow**: Remains in the Logistics domain (Index 2, Step 5) for delivery confirmation
* **Return Window**: Included in the message body for post-delivery customer service scenarios

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

* <i class="fal fa-palette" aria-hidden="true"></i> [Order Shipped Stylesheet][O2C Stylesheet] — Render this message as a delivery note  
* <i class="fal fa-arrow-right" aria-hidden="true"></i> [7. Order Invoiced][] — Continue to Step 7 to see the invoice generation  

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

* <i class="fal fa-arrow-left" aria-hidden="true"></i> [5. Order Completed for Transport][] — Previous step showing transport preparation  
* <i class="fal fa-house" aria-hidden="true"></i> [Order-to-Cash Process Demo][] — Overview of the complete process  
* <i class="fal fa-file-code" aria-hidden="true"></i> [Log Event Reference][] — The O2C Log Event structure  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/BPMs/O2C/O2C_Step6_OrderShipped.gif
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/BPMs/O2C/O2C_Stylesheet_6-Order-Shipped.png

[5. Order Completed for Transport]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/5-order-ready/
[7. Order Invoiced]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/7-order-invoiced/
[BPMs]:https://docs.nodinite.com/repository-model/bpms/overview/
[Context Options]:https://docs.nodinite.com/core-services/log-event/features/context-options/
[Domains]:https://docs.nodinite.com/repository-model/domains/overview/
[JSON formatted Log Event]:https://docs.nodinite.com/core-services/log-event/features/json-log-event/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Databases]:https://docs.nodinite.com/administration/settings/log-databases/overview/
[Log Event Reference]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/o2c-log-event-structure/#log-event-reference
[Log Events]:https://docs.nodinite.com/core-services/log-event/overview/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[O2C Demo Customers]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/generate-o2c-demo-data/#fa-users-customers-products-and-grouping
[O2C Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[O2C Stylesheet]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/stylesheets/6-order-shipped/
[Order-to-Cash Process Demo]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/overview/
[Repository Binding]:https://docs.nodinite.com/core-services/log-event/features/repository-binding/
[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/
[Systems]:https://docs.nodinite.com/repository-model/systems/overview/