---
title: Troubleshoot a Failed Order from the BPM with Nodinite
description: "From a red step on the Order-to-Cash BPM to the failed event and its payload in a few clicks: search by Order Number with BPM Log Search, open the event, and follow a Search Field Link to the order in your ERP or portal."
---

# <i class="fal fa-magnifying-glass" aria-hidden="true"></i> Troubleshoot a Failed Order from the BPM

A customer asks where their order is. With a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [BPM][], you answer from one page: search the order, see the step where it stopped, open the event that failed, and jump to the order in the business system.

* ✅ Search by the value you know, such as the Order Number, straight from the BPM  
* ✅ The failed step is red on the drawing, so you know where to look before you read a single log line  
* ✅ Open the failed event and read the logged message, as your role allows  
* ✅ One click from the event to the order in your ERP or portal with a [Search Field Link][Search Field Links]  

![Troubleshoot failed order PIC-20261115-1838-0008 from the BPM: search it, open the red Order Entry event, read its context and body, and find the order link, animated walkthrough (7.12)][5]  
*Animated walkthrough: BPM [Log Search][Search log events from a BPM] finds the failed order, Order Entry is red on the drawing, Show Details and the message body show what was logged, and O2C - Order ID links to the order in the ERP.*  

## The Business Context

In the [Order-to-Cash demo][O2C Demo], an order passes a Portal, an ERP, a warehouse system, and ERP-Finance in seven steps, each logging its own [Log Events][Log Event] in JSON, XML, or flat-file format.

## The Problem

Without a common view, finding out what happened to one order means opening the Portal's log, then the ERP's, then the warehouse's, matching timestamps and IDs by hand, and often asking the one developer who knows which system comes next. Support waits, and so does the customer.

## The Solution

### Step 1: Search the Order from the BPM

1. Open the Order-to-Cash BPM's page and click **Log Search**. The button is also in the toolbar of the [BPM Designer][What is the BPM Designer].
2. Keep the **Order 2 Cash** [Log View][Log Views]; the page says *Searching in Order 2 Cash*.
3. Type the order's id in **Order Number** and click **Search**. In Order 2 Cash, Order Number is the Application interchange id that every event of the order carries (`PIC-20261115-1838-0008`), renamed in the Log View, and the view groups the events by it. Type the full id: the view's default clause, *Contains 0002*, matches several orders.

[BPM Log Search][Search log events from a BPM] <sup><span class="nodinite-new-badge">New 7.11</span></sup> plots the order's events on the BPM. One match opens the BPM Viewer at once; if more than one order matches, the result says how many groups were found and you pick one.

![BPM Log Search with one order, every step from Order Received to Order Invoiced logged (7.12)][1]  
*Order PIC-20261104-1300-0002: seven events in 13 minutes, every step succeeded. When a step fails, its event and its step show red, and the steps after it stay gray until they log.*  

### Step 2: Open the Failed Event

A failed step shows as a red row. In the demo, order ORD-10008 (Fabrikam) stopped at Order Entry: its event is red in the table and on the drawing, and the steps after it stay gray because nothing was logged for them. Open it to see what was logged, if your [Role][Roles] may see it:

1. Click **Show Details** on the red row. The Information panel shows the [Log Status Code][Log Status Codes] (`-1337`), the [Message Type][Message Types] `O2C.Order.Entry/1.0`, and the [Endpoint][Endpoints] `ERP-OrderEntry-Send`.
2. Open the **Context Values** tab for the order's context properties: OrderNumber `ORD-10008`, the customer, and the amount.
3. Open **Action** > **View message body** for the logged `<OrderEntry>` XML.

A [Stylesheet][Stylesheets] can render the payload in a business-friendly form, so a support agent reads an order rather than raw XML. Open **Action** on the event and choose the Stylesheet view, shown here for the Order Received event of another order; on Order Entry the item reads *View message formatted as 'O2C - View Order Entry'*:

![Action menu on Order Received in the BPM Viewer with View details, View message body, View message formatted as 'O2C - View Order', Resend, and Download (7.12)][2]  
*Action offers View details, View message body, the Stylesheet view, Resend, and Download.*  

![Order ORD-10005 for Tailspin Toys in Stockholm rendered as an Order Report by the O2C - View Order Stylesheet, with the customer, the Ship to address, the order lines, and the Total row (7.12)][3]  
*The logged message as a business document: order, customer, amount, and order lines.*  

### Step 3: Jump to the Order in the Business System

The business order number on the event, ORD-10008, is the value of the [Search Field][Search Fields] *O2C - Order ID*. When an administrator adds a [Search Field Link][Search Field Links] to it, the value becomes a link: one click opens the order in the ERP or the Portal, with the order number filled in. In the demo, the link's tooltip reads *Link To: Order in ERP*.

The link shows only for Search Fields that the Log View uses: in its default search, its optional fields, its group by, or its result columns. For any other Search Field, an administrator sees *Hidden* and a user sees nothing. In Order 2 Cash, O2C - Order ID is a result column.

![Show Details of the failed Order Entry event in BPM Log Search, with O2C - Order ID ORD-10008 shown as a link under Search Field Values (7.12)][4]  
*Show Details on the failed event: under Search Field Values, the order number opens the order in the ERP.*  

### Step 4: Check the System Behind the Step

If a system behind the step is down, the <i class="fal fa-lightbulb-on" aria-hidden="true"></i> lightbulb on its [Service][Services] shows it; see [Monitor and act][Monitor-and-Act].

## The Results

Troubleshooting that used to cross several system logs becomes one search from the BPM, followed by a click on the red step and, when needed, a click into the ERP. Support staff can follow an order themselves instead of escalating every question to a developer.

It also works after the fact. If you later need to search on another value, such as a customer number, an administrator adds a Search Field and [re-indexes][Search Fields] the events you already logged; nothing has to be logged again.

<div class="mermaid">
flowchart LR
    A[fa:fa-magnifying-glass Search Order Number<br/>from the BPM] --> B[fa:fa-circle-xmark Red step<br/>Order Entry]
    B --> C[fa:fa-file-lines Failed event<br/>payload and context]
    C --> D[fa:fa-arrow-up-right-from-square Search Field Link<br/>order in ERP or Portal]
    style A fill:#2678BD
    style B fill:#c33d34
    style C fill:#E47528
    style D fill:#93d16d
</div>

*Blue: start from the BPM. Red: the failed step. Orange: the logged evidence. Green: the business record, one click away.*

## How This Scenario Uses Nodinite Features

1. [BPM Log Search][Search log events from a BPM] <sup><span class="nodinite-new-badge">New 7.11</span></sup> - search one order and plot it on the BPM
2. [Search Fields][] and [Search Field Expressions][] - make the Order Number searchable in every message format
3. [Log Views][] - group the order's events and control who sees which payloads
4. [Log Status Codes][] - color each step by its logged outcome
5. [Search Field Links][] - turn the Order Number into a link to the order in another system

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

* <i class="fal fa-magnifying-glass" aria-hidden="true"></i> [Search log events from a BPM][]  
* <i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i> [Search Field Links][]  
* <i class="fal fa-cart-shopping" aria-hidden="true"></i> [Order-to-Cash demo][O2C Demo]  

## <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]  
* <i class="fal fa-lightbulb" aria-hidden="true"></i> [All BPM scenarios][Scenario Index]  
* <i class="fal fa-search" aria-hidden="true"></i> [End-to-End Process Tracking][]  
* <i class="fal fa-display" aria-hidden="true"></i> [Monitor and act][Monitor-and-Act]  
* <i class="fal fa-circle-question" aria-hidden="true"></i> [FAQ: How does BPM correlate events?][FAQ correlate]  
* <i class="fal fa-list" aria-hidden="true"></i> [BPM FAQ][Troubleshooting Overview]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/BPMs/LogSearch_ResultWithSingleMatch.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/BPMs/O2C/OrderReceived_Action_StylesheetOption.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/BPMs/O2C/OrderReceived_StylesheetView.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/BPMs/SearchFieldLink_FromBPMSearch.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/BPMs/O2C/BPM_TroubleshootInMinutes.gif

[BPM]:https://docs.nodinite.com/repository-model/bpms/overview/
[End-to-End Process Tracking]:https://docs.nodinite.com/repository-model/bpms/features/end-to-end-process-tracking/
[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/
[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/
[Monitor-and-Act]:https://docs.nodinite.com/repository-model/bpms/scenarios/monitor-and-act/
[O2C Demo]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/overview/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Scenario Index]:https://docs.nodinite.com/repository-model/bpms/scenarios/overview/
[Search Field Expressions]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/overview/
[Search Field Links]:https://docs.nodinite.com/administration/log-management/search-fields/features/what-is-a-search-field/#fa-arrow-up-right-from-square-jump-to-external-systems-with-search-field-links
[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/
[Stylesheets]:https://docs.nodinite.com/administration/customize/stylesheets/overview/
[Troubleshooting Overview]:https://docs.nodinite.com/repository-model/bpms/troubleshooting/overview/
[What is the BPM Designer]:https://docs.nodinite.com/repository-model/bpms/features/what-is-the-bpm-designer/