---
title: "FAQ: Can I Export BPM Data for Reporting?"
description: "Can you export the data behind a Nodinite BPM? Yes: the events live in Log Views, so you export them with Export to CSV, or read them as JSON through Copy API URL and the Web API in Excel, Power BI, or your own code."
---

# Can I export BPM data for reporting?

## :fa-circle-question: Quick Answer

Yes. A [BPM][] doesn't store data of its own: it draws the [Log Events][Log Event] that a [Log View][Log Views] finds. So you export BPM data the same way you export any Log View result:

* :fa-file-csv: **Export to CSV**: download the current result, with your choice of delimiter. See [Copy API, Print, and Export to CSV][Export to CSV].
* :fa-clone: **Copy API URL**: get the search as a [Web API][] URL returning **JSON**, for Excel, Power BI, Qlik, or code. For a grouped Log View, such as **Order 2 Cash**, the URL returns the groups, each with a link to its events. See [Use API in Excel with Power Query][Power Query].
* :fa-square-plus: **With selected**: select events in the Log View and choose **Save as .zip** to get the message files, which needs [View Body][Permission Set for Log Views]. **With selected** shows only when the Log View allows **View Body** or **Resend**, and **Export Events** is for administrators only. See [Log Views][Log Views - With selected].

For Power BI, connect to the same Web API URL; the former Power BI template and content pack are obsolete, see [Reports and Power BI][Reports]. Your [Role][Roles] decides what you see in the export, just as on screen.

![Order ORD-10005 on the O2C BPM in BPM Log Search, Show Log View to the Order 2 Cash Log View, the same search there, Export to CSV with the CSV Delimiter, the downloaded file, then Copy API URL opened in a new tab returning JSON, animated walkthrough (7.12)][1]  
*Animated walkthrough: from order `ORD-10005` on the O2C BPM in [BPM Log Search][Search log events from a BPM], **Show Log View** opens the **Order 2 Cash** Log View's search page in a new tab, without the BPM's search, so search the same interchange there. **Export to CSV**: pick the pages and the **CSV Delimiter**, then **Confirm**. The file starts each group with its Order Number, duration, and event count, then one line per event with the Log View's columns. **Copy API URL** gives the same search as a Web API URL that returns JSON.*  

## :fa-diagram-project: Where the Data Comes From

<div class="mermaid">
flowchart LR
    LE[fa:fa-bolt Log Events<br/>Portal, ERP, WMS] --> LV[fa:fa-hard-drive Log View<br/>group by interchange id]
    LV --> BPM[fa:fa-project-diagram BPM<br/>Order-to-Cash]
    LV --> CSV[fa:fa-file-csv Export to CSV]
    LV --> API[fa:fa-code Web API JSON<br/>Copy API URL]
    API --> BI[fa:fa-chart-column Excel, Power BI,<br/>custom code]
    style LV fill:#2678BD
    style BPM fill:#93d16d
    style CSV fill:#E47528
    style API fill:#E47528
</div>

*The BPM and the exports (orange) read the same Log View (blue).*

## :fa-cart-shopping: Example: Order-to-Cash

In the [Order-to-Cash demo][O2C Demo], the **Order 2 Cash** Log View groups events by **Application interchange id**, which it shows as **Order Number**, and the **O2C - Order ID** [Search Field][Search Fields] holds the business key.

1. Open the Log View and set the time interval, for example last month.
2. Switch to [Advanced mode][Log Search] and search on [Log Status Code][Log Status Codes] `-1337` to list the orders that stopped at a step.
3. Click **Export to CSV** for a one-off list, or **Copy API URL** to build a Power BI report over the same search.

Business values such as the order number in **O2C - Order ID** come from Search Fields; add one later and re-index to cover older events.

## :fa-triangle-exclamation: Things to Know

* **No BPM-specific export**: export from the Log View [associated with the BPM][Add or manage BPM - Log Views]. **Show Log View** in BPM Log Search opens that Log View's own search page, without the BPM's search.
* **Retention**: you can only export what the [Log Databases][] still hold; load long-term data into your own store.
* **Aggregates**: :Nodinite: returns events; calculate counts and durations in your report tool.
* **Payloads**: follow **View Body** and **View Context**; see [Permission Set for Log Views][].

## :fa-hand-point-right: Next Steps

* :fa-file-csv: [Copy API, Print, and Export to CSV][Export to CSV]  
* :fa-table: [Use API in Excel with Power Query][Power Query]  

## :fa-link-horizontal: Related Topics

* :fa-project-diagram: [Business Process Model (BPM)][BPM] - Main BPM overview  
* :fa-code: [Web API][] - REST API with Swagger  
* :fa-chart-column: [Reports and Power BI][Reports]  
* :fa-hard-drive: [Log Views][] - Filter and export log data  
* :fa-cart-shopping: [Order-to-Cash demo][O2C Demo]  
* :fa-list: [All FAQs][Troubleshooting Overview] - See all BPM FAQs  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/BPMs/BPM_FAQ_Export.gif

[Add or manage BPM - Log Views]:{ndr}/Getting%20Started/4.%20Repository/BPMs/Add%20or%20manage%20BPM.md#log-views-for-bpm-search
[BPM]:{ndr}/Repository%20Model/BPMs/Overview.md
[Export to CSV]:{ndr}/Getting%20Started/2.%20Log/Copy%20API,%20Print,%20and%20Export%20to%20CSV.md
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Search]:{ndr}/Getting%20Started/2.%20Log/Search%20a%20Log%20View.md
[Log Status Codes]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Status%20Code.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Log Views - With selected]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/Resend%20and%20Download%20Log%20Events.md#fa-square-plus-with-selected
[O2C Demo]:{ndr}/Repository%20Model/BPMs/Examples/Order-to-Cash/Overview.md
[Permission Set for Log Views]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Permission%20Set%20for%20Log%20Views.md
[Power Query]:{ndr}/Getting%20Started/2.%20Log/Use%20API%20in%20Excel%20with%20Power%20Query.md
[Reports]:{ndr}/Core%20Services/Web%20API/Features/Reports/Overview.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Search Fields]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/What%20is%20a%20Search%20Field.md
[Search log events from a BPM]:{ndr}/Getting%20Started/4.%20Repository/BPMs/Search%20log%20events%20from%20a%20BPM.md
[Troubleshooting Overview]:{ndr}/Repository%20Model/BPMs/Troubleshooting/Overview.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md