---
title: Monitor and Act on Business Process Steps from the Nodinite BPM
description: See the health of the systems behind every step of a Nodinite BPM, and fix them from the same page. A lightbulb on each Service shows the worst state of its Resources, and Remote Actions run by role, with an audit trail.
---

# :fa-lightbulb-on: Monitor and Act from the BPM

Knowing that an order failed is half the job; the other half is fixing the system behind the step. A :Nodinite: [BPM][] puts logging and monitoring on the same drawing, so you go from "this step failed" to "this application pool is stopped" to "started again" without switching tools.

* ✅ A lightbulb on each [Service][Services] shows the worst state of the [Resources][] behind it  
* ✅ [Remote Actions][] from the BPM, the same ones as in a [Monitor View][Monitor Views], for the [Roles][] you allow  
* ✅ Every Remote Action is recorded in the [audit log][Log Audits]  
* ✅ [Non-Events Monitoring][] alerts when expected messages don't arrive at all  

![Start a stopped IIS application pool from the red lightbulb of Confirmation Sent in BPM Log Search, animated walkthrough (7.12)][4]  
*Animated walkthrough: in BPM [Log Search][Search log events from a BPM] the lightbulb of Confirmation Sent is red; its Resources list the stopped application pool, **Start** brings it back, and at the agent's next report the lightbulb is green.*  

## The Business Context

In the [Order-to-Cash demo][O2C Demo], each step of the process is a [Service][Services] in the BPM. Behind each Service run real things that a [Monitoring Agent][Monitoring Agents] watches as Resources: a Windows service, a scheduled task, an [IIS][] application pool, a queue. Behind Confirmation Sent, the Service INT1337-SND-Confirm-Outgoing, runs the IIS application pool *Contoso-O2C-ConfirmationSender*, which the [Windows Server Monitoring Agent][Windows Server] watches.

## The Problem

Logging and monitoring usually live in different tools. Support sees that an order stopped at Confirmation Sent; operations sees a stopped application pool on a server; and nobody connects the two until someone with server access is found.

## The Solution

### See Health on the Process

Link the Resources to the Service of the step they serve, and the worst state of those Resources shows on the BPM: one Resource in Error turns its lightbulb red. Unavailable and Connection Error outrank Error, so a Service with one Resource in Error and one Unavailable shows light gray; [Integrated Monitoring][] explains how the color is picked. The state counts after each Resource's [Expected State][] is applied. Where you see it depends on the view:

* In the [BPM Designer][What is the BPM Designer], the Service shapes stay gray; the :fa-lightbulb-on: lightbulb on each Service takes the worst Resource state.
* In [BPM Log Search][Search log events from a BPM] and the BPM Viewer, the steps take the [Log Status Code][Log Status Codes] of the order's events, and the :fa-lightbulb-on: lightbulb on each Service takes the worst Resource state.

![Order-to-Cash BPM in the Designer with gray Service shapes and lightbulbs on Order Received, Confirmation Sent, and Order Invoiced (7.13)][1]  
*Lightbulbs show on Order Received, Confirmation Sent, and Order Invoiced, the Services with linked Resources; Services with no linked Resources show no lightbulb. The shapes themselves stay gray.*  

<div class="mermaid">
flowchart LR
    P["fa:fa-server IIS application pool<br/>Contoso-O2C-ConfirmationSender<br/>Error: Application Pool is stopped"] --> S["fa:fa-gear Service<br/>Confirmation Sent"]
    S --> L["fa:fa-lightbulb Lightbulb red"]
    L -->|"click"| R["fa:fa-list Resources for the Service"]
    R -->|"Action, Start"| A["fa:fa-bolt Remote Action Start<br/>recorded in the audit log"]
    A -->|"agent's next report"| G["fa:fa-lightbulb Lightbulb green"]
    style P fill:#c33d34,color:#fff
    style L fill:#c33d34,color:#fff
    style S fill:#2678BD,color:#fff
    style R fill:#2678BD,color:#fff
    style A fill:#E47528,color:#fff
    style G fill:#93d16d
</div>

*The scenario: red marks the stopped application pool and the lightbulb it turns red, blue the Service and its Resources list, orange the Remote Action, and green the lightbulb once the agent reports the pool running again.*  

Use the two together: the event tells you what failed for this order, the lightbulb tells you whether the system is still failing.

### Act Where You See It

1. In [BPM Log Search][Search log events from a BPM], open the order. The lightbulb of Confirmation Sent is red.
2. Click the lightbulb. **Resources for the 'INT1337-SND-Confirm-Outgoing' Service** lists the Resources behind the step with their state and Log Text, each with an **Action** button.
3. Open **Action** and pick **Start** under **Control Center**, then confirm with **Yes**. The confirmation and the result are the same as in a Monitor View.
4. The agent answers at once that the application pool has been started.
5. The lightbulb follows the agent, not the click: it turns green at the agent's next report (about a minute on the dev stack), once the page is refreshed.

![Resources for the INT1337-SND-Confirm-Outgoing Service: the IIS application pool Contoso-O2C-ConfirmationSender in Error with Log Text Application Pool is stopped, and its Action button (7.12)][2]  
*The Resource behind Confirmation Sent: the application pool, reported by the Windows Servers on NODINITE01 agent in the Category IIS - Application Pool.*  

From there, users run [Remote Actions][]. They are the same actions as in a Monitor View, provided by the Monitoring Agents for each Resource, such as starting, stopping, or recycling an IIS application pool; which ones exist depends on the agent and changes as agents evolve. An administrator decides per Role who may run them, so operations can restart a service while business owners only look. The lightbulb also counts only the Resources the user may see, those in a Monitor View of the user's Roles, while administrators see all; so two users can see different lightbulbs on the same Service. [Knowledge Base Articles][] linked to the Resources tell the person on duty what to do.

![Resources for the INT1337-SND-Confirm-Outgoing Service opened from the lightbulb in BPM Log Search, with the Action menu of the application pool expanded and the red lightbulb of Confirmation Sent behind it (7.12)][3]  
*The Action menu groups **Monitor Views** (here Windows Servers on NODINITE01), **Resource** (View Resource History, Articles), **Administration** (Edit Monitoring Agent, Edit Resource), **Control Center** with the Remote Actions the agent provides for this Resource (here Details, Start, Stop, and Recycle), and **Metrics**.*  

### Catch What Never Happened

A failed step is visible; an order that never arrived isn't. [Non-Events Monitoring][] alerts when expected messages don't arrive or volumes fall outside what you expect.

## The Results

* Support, operations, and business owners look at the same picture of the process.
* The person who spots a stopped application pool or service can start it, if their role allows, without remote desktop access to the server.
* Problems with the systems behind a step show on the BPM even when no order is in flight.

## How This Scenario Uses Nodinite Features

1. [Integrated Monitoring][] - lightbulb and Resource details on each BPM Service
2. [Resources][] and [Monitoring Agents][] - the monitored systems behind each step
3. [Remote Actions][] - start, stop, and other actions, controlled by [Roles][]
4. [Knowledge Base Articles][] - instructions next to the Resource
5. [Non-Events Monitoring][] - alerts on missing or late messages

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

* :fa-display: [Integrated Monitoring][]  
* :fa-square-plus: [Add or manage BPM][Add or manage BPM - Monitoring]  
* :fa-bolt: [Remote Actions][]  

## :fa-link-horizontal: Related Topics

* :fa-arrow-progress: [Business Process Model (BPM)][BPM]  
* :fa-lightbulb: [All BPM scenarios][Scenario Index]  
* :fa-magnifying-glass: [Troubleshoot a failed order][Troubleshoot-in-Minutes]  
* :fa-display: [Monitor Views][]  
* :fa-stopwatch: [Non-Events Monitoring][]  
* :fa-server: [IIS application pools][IIS]  
* :fa-circle-question: [BPM FAQ][Troubleshooting Overview]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/BPMs/BPMDesignerWithMonitoringResources.png
[2]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/BPMs/ResourcesForServiceWithActionButton.png
[3]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/BPMs/O2C/Service_RemoteActionsExample.png
[4]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/BPMs/O2C/BPM_MonitorAndAct.gif

[Add or manage BPM - Monitoring]:{ndr}/Getting%20Started/4.%20Repository/BPMs/Add%20or%20manage%20BPM.md#fa-forward-step-step-6-monitor-resources-and-enable-remote-actions
[BPM]:{ndr}/Repository%20Model/BPMs/Overview.md
[Expected State]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/Expected%20State.md
[IIS]:{ndr}/Logging%20and%20Monitoring/Windows%20Server/Features/IIS.md
[Integrated Monitoring]:{ndr}/Repository%20Model/BPMs/Features/Integrated%20Monitoring.md
[Knowledge Base Articles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Overview.md
[Log Audits]:{ndr}/Administration/6.%20Tools/2.%20Log%20Audit%20Search.md
[Log Status Codes]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Status%20Code.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[Non-Events Monitoring]:{ndr}/Logging%20and%20Monitoring/Non-Events/Overview.md
[O2C Demo]:{ndr}/Repository%20Model/BPMs/Examples/Order-to-Cash/Overview.md
[Remote Actions]:{ndr}/Getting%20Started/3.%20Monitor/Remote%20Actions.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Scenario Index]:{ndr}/Repository%20Model/BPMs/Scenarios/Overview.md
[Search log events from a BPM]:{ndr}/Getting%20Started/4.%20Repository/BPMs/Search%20log%20events%20from%20a%20BPM.md
[Services]:{ndr}/Repository%20Model/Services/Overview.md
[Troubleshoot-in-Minutes]:{ndr}/Repository%20Model/BPMs/Scenarios/Troubleshoot-in-Minutes.md
[Troubleshooting Overview]:{ndr}/Repository%20Model/BPMs/Troubleshooting/Overview.md
[What is the BPM Designer]:{ndr}/Repository%20Model/BPMs/Features/What%20is%20the%20BPM%20Designer.md
[Windows Server]:{ndr}/Logging%20and%20Monitoring/Windows%20Server/Overview.md