---
title: Monitor and Control BizTalk Scheduled Instances with Nodinite – Thresholds & Alerts
description: Monitor and manage BizTalk Server Scheduled instances with Nodinite. Get real-time alerts, automate actions, and ensure business continuity with advanced threshold management and compliance auditing.
---

# <i class="fal fa-calendar-alt" aria-hidden="true"></i> Scheduled instance(s) Category

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [BizTalk Server Monitoring Agent][BizTalk Monitoring Agent] empowers you to monitor BizTalk Server **Scheduled instances** for all [BizTalk Applications][BizTalk Application] in your group. Instantly detect issues, automate actions, and maintain business continuity. <i class="fal fa-rocket" aria-hidden="true"></i>

* **Scheduled instances** in BizTalk are listed within <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> as [Resources][] named 'Scheduled instance(s)'.
* <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> mirrors the [Application][Applications] structure, providing a 1:1 mapping with BizTalk Applications.
* Scheduled instances are grouped by the [Category][Categories] **Scheduled instance(s)** for streamlined management.

![A BizTalk Application's Scheduled instance(s) Resource, Manage scheduled instances listing sends waiting for the send port's service window with the Scheduled for column, then Edit thresholds with the Global thresholds badge and the default time spans and counts, animated walkthrough (7.12)][3]  
*Animated walkthrough: the lab Application Lab.InstanceStates, whose sends wait for their send port's service window. **Manage scheduled instances** lists the waiting sends, and **Edit thresholds** shows the global thresholds (nothing is saved).*  

1. Press **Action** on the 'Scheduled instance(s)' Resource and select **Manage scheduled instances**: **Scheduled for** shows when each send port's service window opens, in local time, with the window under it.
1. Close the list, press **Action** again, and select **Edit thresholds**: the **Global thresholds** badge, **Allowed Timespan** (1 day and 2 days) and **Message Count** (2500 and 5000), Warning and Error.

![Monitor View filtered by the Scheduled instance(s) Category, one Resource per BizTalk Application, all OK (7.12)][1]  
*A [Monitor View][Monitor Views] filtered by the 'Scheduled instance(s)' Category: one Resource per BizTalk Application.*

<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>All <a href="https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/">User</a> operations within <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> are <a href="https://docs.nodinite.com/administration/tools/log-audit-search/">Log Audited</a>, supporting your security and corporate governance compliance policies. <i class="fal fa-shield-alt" aria-hidden="true"></i></p></div>
</aside>

## <i class="fal fa-lightbulb" aria-hidden="true"></i> Understanding BizTalk Server Scheduled Instances

**Scheduled Instances** represent service instances (primarily orchestrations, but also some messaging scenarios) that are **waiting for a specific future time** before activation or continuation. These instances have been explicitly scheduled by BizTalk to execute at a designated time using delay shapes, service windows, or time-based activation patterns.

### <i class="fal fa-microchip" aria-hidden="true"></i> What Creates Scheduled Instances?

BizTalk Server creates scheduled instances in several scenarios:

#### Orchestration Delay Shapes

* **Absolute time delays** – `Delay until 2026-01-27 09:00:00` → orchestration schedules wakeup for specific datetime
* **Relative time delays** – `Delay for 24 hours` → orchestration schedules wakeup for current time + duration
* **Business process timers** – SLA escalations ("wait 48 hours for approval"), payment terms ("invoice due in 30 days")

#### Service Window Configurations

* **Send port service windows** – Messages scheduled to send only during specific time windows (e.g., 9 AM - 5 PM business hours)
* **Orchestration service windows** – Orchestrations configured to start only during allowed processing windows
* **Adapter-specific scheduling** – File adapter with scheduled pickup times, batch processing windows

#### Receive Location Schedule Configurations

* Messages arriving outside configured receive window → queued until window opens
* Batch processing orchestrations waiting for nightly processing window

#### Correlation Timeouts with Delays

* Long-running correlations with multi-day timeout periods
* Orchestrations waiting for response messages with extended timeouts

### <i class="fal fa-triangle-exclamation" aria-hidden="true"></i> Why Monitoring Scheduled Instances is Critical

While scheduled instances represent **intentional delays** (not errors), excessive or prolonged scheduling can indicate problems:

* **<i class="fal fa-clock" aria-hidden="true"></i> Service Window Accumulation** – Hundreds of messages queued waiting for service window to open (morning backlog from overnight arrivals)
* **<i class="fal fa-calendar-xmark" aria-hidden="true"></i> Misconfigured Delays** – Orchestrations scheduled for incorrect future times (typo: scheduled for 2027 instead of tomorrow)
* **<i class="fal fa-database" aria-hidden="true"></i> MessageBox Pressure** – Scheduled instances store state in MessageBox; thousands of scheduled instances consume database resources
* **<i class="fal fa-business-time" aria-hidden="true"></i> Business Process Visibility** – Tracking long-running business processes (how many invoices waiting for 30-day payment terms?)
* **<i class="fal fa-chart-line" aria-hidden="true"></i> Capacity Planning** – Spike in scheduled instances at window open time reveals processing capacity needs
* **<i class="fal fa-bomb" aria-hidden="true"></i> Rehydration Storms** – Thousands of instances scheduled for same time (e.g., 9 AM window open) cause simultaneous activation, overwhelming host instances
* **<i class="fal fa-gear" aria-hidden="true"></i> Delay Shape Misuse** – Developers using delays instead of subscriptions/correlations, creating unnecessary scheduled state

### <i class="fal fa-shapes" aria-hidden="true"></i> Common Scheduled Instance Scenarios

#### Legitimate Scheduled Instance Patterns

* **Business hours service windows** – B2B/EDI send ports configured for 9 AM - 5 PM; overnight messages queue until morning
* **SLA escalation timers** – Approval workflows: "wait 2 days for manager response before escalating to director"
* **Payment terms orchestrations** – Invoice processing: "schedule payment reminder for invoice due date + 30 days"
* **Batch processing windows** – Nightly file processing orchestrations scheduled for 2 AM execution
* **Rate limiting delays** – Controlled message flow: "send 100 messages per hour" implemented with delay shapes
* **Retry with exponential backoff** – Custom retry logic using increasing delay intervals (1 min, 5 min, 15 min, 1 hour)

#### Problematic Scheduled Instance Patterns

* **Infinite/extremely long delays** – Orchestration scheduled for 99 years in future (developer error)
* **Wrong timezone calculations** – Orchestration scheduled for UTC time when local time intended (messages delayed 5-8 hours)
* **Service window backlogs** – Thousands of messages queued overnight; processing can't complete before next window closes
* **Delay shape instead of correlation** – Polling patterns using delays ("check every 5 minutes") instead of proper subscriptions
* **Accumulating scheduled count** – Scheduled instances increasing daily without decreasing (orchestrations not completing after activation)

### <i class="fal fa-chart-line" aria-hidden="true"></i> Normal vs. Problematic Scheduled Patterns

#### Normal Scheduled Instance Behavior

* **Predictable daily patterns** – Count increases overnight (service window closed), decreases rapidly after window opens (9 AM)
* **Stable scheduled count** – Consistent number of long-running business processes (e.g., always 200 30-day invoice processes in flight)
* **Fast activation** – Scheduled instances activate at scheduled time and transition to Running/Dehydrated/Completed quickly
* **Expected counts** – Scheduled count matches business volume (e.g., 50 approval workflows waiting = normal for daily approval queue)

#### Root Causes of Excessive Scheduled Instances

* **Service window backlogs** – Message arrival rate during closed window exceeds processing capacity during open window
* **Delay shape misconfiguration** – Wrong timespan calculations (days vs hours confusion), timezone errors
* **Business process design** – High volume of long-running processes (thousands of 30-day payment term workflows)
* **Polling pattern anti-patterns** – Using delay shapes for polling instead of scheduled receive locations
* **Testing orchestrations in production** – Test orchestrations with extreme delays (999 days) accidentally deployed
* **Correlation timeout issues** – Orchestrations scheduling long timeouts but messages never arriving (accumulating scheduled instances)

## <i class="fal fa-key" aria-hidden="true"></i> What are the key features for Monitoring BizTalk Server Scheduled instances?

Nodinite's Scheduled Instance monitoring provides **dual-threshold evaluation** combined with **service window and delay visibility**, enabling detection of service window backlogs, misconfigured delays, and capacity planning for time-based processing:

* **Dual-Threshold Evaluation** – Intelligent monitoring using both [count-based](#count-based-evaluation) (how many instances scheduled) and [time-based](#time-based-evaluation) (how long scheduled) thresholds to detect service window overload vs. delay misconfiguration.
* **Service Window Backlog Detection** – [View scheduled instances](#fa-circle-info-details) to identify accumulating queues before service windows open, enabling proactive capacity planning.
* **Delay Misconfiguration Detection** – Time thresholds catch instances scheduled years instead of days ahead, or in the wrong timezone.
* **Application-Specific Configuration** – Tailor [threshold settings](#fa-edit-edit-thresholds) per [BizTalk Application][] to accommodate different scheduling patterns (nightly batches vs. business hours windows).
* **Business Process Visibility** – Track in-flight long-running processes with delay shapes.

## What is evaluated for BizTalk Scheduled instances?

The monitoring agent continuously queries BizTalk's MessageBox to assess scheduled instance counts and scheduled durations across all applications. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> evaluates instances against **both count and time thresholds**, providing comprehensive scheduled processing health assessment:

|State|Status|Description|<i class="fal fa-bolt" aria-hidden="true"></i> Actions|  
|---|---|---|---|  
|🚫 <span title="Used to indicate an error/fatal condition">Unavailable</span>|**Resource not available**|Evaluation of the 'Scheduled instances' is not possible due to network or security-related problems|Review [prerequisites][]|  
|❌ <span title="Used to indicate that an error or abnormal condition has been detected">Error</span>|**Error threshold is breached**|More Scheduled instances exist than allowed by the Error threshold|<i class="fal fa-circle-info" aria-hidden="true"></i> [Details][ScheduledDetails]</br><i class="fal fa-edit" aria-hidden="true"></i> [Edit thresholds][ScheduledEditThresholds]|  
|⚠️ <span title="Used to indicate an unexpected but not invalid state"> Warning</span>|**Warning threshold is breached**|More Scheduled instances exist than allowed by the Warning threshold|<i class="fal fa-circle-info" aria-hidden="true"></i> [Details][ScheduledDetails]</br><i class="fal fa-edit" aria-hidden="true"></i> [Edit thresholds][ScheduledEditThresholds]|  
|✅ <span title="Used to indicate normal operation">OK</span>|**Within user-defined thresholds**|Number of Scheduled instances are within user-defined thresholds|<i class="fal fa-circle-info" aria-hidden="true"></i> [Details][ScheduledDetails]</br><i class="fal fa-edit" aria-hidden="true"></i> [Edit thresholds][ScheduledEditThresholds]|  

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>You can reconfigure the <strong>evaluated state</strong> using the <a href="https://docs.nodinite.com/administration/monitor-management/resources/features/expected-state/">Expected State</a> feature on every <a href="https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/">Resource</a> within <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>. For applications with service windows or batch processing patterns, you can expect Warning/Error states during backlog accumulation periods (overnight queue buildup) without generating false alarms.</p></div>
</aside>

___

## <i class="fal fa-bolt" aria-hidden="true"></i> Actions

When scheduled instances accumulate beyond expected levels or remain scheduled longer than business logic dictates, investigation prevents service window overload and identifies delay misconfiguration. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> provides [Remote Actions][] for scheduled instance visibility and capacity planning.

These actions enable operations teams to view upcoming scheduled activations and identify delay logic issues. All actions are [audit logged][Log Audits] for compliance tracking.

### Available Actions for Scheduled Instances

The following [Remote Actions][] are available for the **Scheduled instance(s)** [Category][Categories]:  
![Action menu of a Scheduled instance(s) Resource with Manage scheduled instances, Edit thresholds and Suspend all under Control Center (7.12)][2]  
*The **Action** menu of a 'Scheduled instance(s)' Resource in the [Web Client][]; the three Remote Actions are under **Control Center**.*  

* <i class="fal fa-circle-info" aria-hidden="true"></i> [Manage scheduled instances][ScheduledDetails]  
* <i class="fal fa-edit" aria-hidden="true"></i> [Edit thresholds][ScheduledEditThresholds]  
* <i class="fal fa-pause" aria-hidden="true"></i> [Suspend all](#fa-pause-suspend-all)  

There is no **Resume** here: Resume belongs to [Suspended instances][Suspended Instances].

<h3 id="fa-circle-info-details"><i class="fal fa-circle-info" aria-hidden="true"></i> Manage scheduled instances</h3>

When alerts indicate excessive scheduled instances or prolonged scheduling durations, the **Manage Scheduled instance(s)** dialog lists the instances of the BizTalk Application that are in the state Scheduled, so you can see which services wait and for how long.

#### What You Can See

* A summary on top: the number of instances, how long ago the oldest was created, and the page shown  
* **Service Name** and **Creation Time** of each instance; click **Creation Time** to switch between newest and oldest first  
* **Duration** – how long the instance has existed (what the time thresholds measure)  
* **Scheduled for** – when the instance runs: the time its send port's service window opens, in local time, with the window under it  
* Page sizes **25**, **50**, and **100**, and a **Filter on service name** box  
* **Error Code**, **Error Description**, and **Pending Job** appear only when an instance has a value, so they don't show for scheduled instances  
* The chevron **Show details** button left of **Action** expands the instance's **Details**: **Instance Id**, **Status**, **Creation Time**, **Service Class**, **Server**, **Host Name**, **Adapter**, **Service**, and **Service URI**  
* **Suspend** and **Terminate** per instance, each confirmed with **Execute action?**, and **With selected** to suspend the checked instances together  

#### When to Use This View

* **Service window capacity planning** – Count the instances waiting for a service window to predict the activation load when it opens
* **Delay misconfiguration detection** – Spot instances whose **Duration** keeps growing far past the longest legitimate delay
* **Rehydration storm prevention** – Detect thousands of instances waiting for the same send port → stagger windows or increase host capacity
* **Business process tracking** – Monitor in-flight long-running processes (how many approval workflows awaiting escalation?)
* **Service window optimization** – Analyze overnight accumulation patterns to adjust window hours
* **Delay logic validation** – After a deployment, check which services (**Service Name**) wait, and for how long

#### Common Diagnostic Patterns

##### Pattern: Thousands Scheduled for Same Time (e.g., 09:00:00)

* **Diagnosis:** Service window opens at 9 AM; overnight backlog accumulation
* **Action:** Stagger service windows (9 AM, 9:30 AM, 10 AM) or add host instances to handle surge
* **Risk:** Simultaneous activation → thread exhaustion, memory pressure, host crashes

##### Pattern: Instances Scheduled for Years in Future

* **Shows as:** a **Scheduled for** date far in the future, and **Duration** growing past every legitimate delay; the time threshold raises the alert
* **Diagnosis:** Delay calculation error (years instead of days: `new DateTime(2027, ...)` vs `AddDays(1)`)
* **Action:** Terminate misconfigured instances, fix delay logic, redeploy

##### Pattern: Scheduled Count Growing Daily Without Clearing

* **Diagnosis:** Orchestrations scheduling but not activating/completing (datetime errors, timezone issues)
* **Action:** Investigate transition failures; check UTC vs local time configuration

##### Pattern: Instances with Activation Time in the Past

* **Diagnosis:** Clock synchronization issues or severe processing backlog
* **Action:** Verify server clock; investigate host instance health (should activate immediately)

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p><strong>Rehydration storm risk:</strong> thousands of instances activating at once compete for threads, memory, the MessageBox database, and CPU. Stagger service windows, or add host capacity, before the backlog grows that large.</p></div>
</aside>

To open the list, press the **Action** button and select **Manage scheduled instances**, then click **Refresh** to read the current instances again:  
![Manage Scheduled instance(s) dialog for INT001 Orders: 0 instances, the pager, the Filter on service name box, page sizes 25, 50 and 100, and the columns Service Name, Creation Time, Duration and Scheduled for (7.12)][4]  
*The **Manage Scheduled instance(s)** dialog for the BizTalk Application 'INT001: Orders', here with no scheduled instances.*  

### <i class="fal fa-pause" aria-hidden="true"></i> Suspend all

**Suspend all** suspends every scheduled instance of the BizTalk Application in one go. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> asks you to confirm with **Execute action?** first, and the action is [audit logged][Log Audits]. Resume the instances later from [Suspended instances][Suspended Instances].

### <i class="fal fa-edit" aria-hidden="true"></i> Edit thresholds

Scheduled instance monitoring uses **dual-threshold evaluation**—both count-based (service window backlog depth) and time-based (delay duration)—to detect different issues. This enables detection of both service window capacity problems and delay logic misconfiguration.

#### When to Adjust Thresholds

* **Count thresholds:** After analyzing overnight accumulation, based on processing capacity, for seasonal patterns, after infrastructure scaling
* **Time thresholds:** Based on longest legitimate delay + buffer, to catch calculation errors (90+ days), for service window cycles

#### Service Window Threshold Strategy

1. Measure overnight accumulation (instances queued during closed window)
2. Calculate processing capacity (instances/hour during open window)
3. Set count Warning at 60-70% capacity, Error at 90%
4. Set time Warning at 20-24 hours, Error at 48-72 hours

#### Long-running Process Strategy

Start from the longest legitimate delay (for example 30-day payment terms): set the time Warning at 150 % of it, the Error at 90–180 days, and the count from the expected in-flight volume.

Thresholds can be managed through the Actions menu or via [Remote Configuration][] for bulk adjustments.

To manage the **Scheduled instance(s) threshold** for the selected BizTalk Application, press the **Action** button and select **Edit thresholds**. The **Manage Monitoring Thresholds** dialog has an **Allowed Timespan** card (**Warning time span**, **Error time span**) and a **Message Count** card (**Warning count**, **Error count**). Clicking **Save** gives this BizTalk Application its own thresholds; the other Applications keep the general thresholds from the [Remote Configuration][]. The new thresholds apply at the next evaluation, typically within a minute. The Application keeps its own copy from then on, even when you save the same values as the general thresholds. The badge next to the subtitle reads **Global thresholds** or **This Application's thresholds**; after **Save**, **Reset to global** removes this Application's own thresholds again (see [Edit thresholds on Ready to Run instances][ReadyEditThresholds]).

![Manage Monitoring Thresholds dialog for INT001 Orders with the Global thresholds badge, Allowed Timespan 1.00:00:00 and 2.00:00:00 and Message Count 2500 and 5000 (7.12)][6]  
*The **Manage Monitoring Thresholds** dialog for 'Scheduled instance(s)'; the note above **Save** says that saving switches this Application to specific thresholds.*

#### Time-based evaluation

Time-based evaluation detects instances **scheduled for excessively long durations**, indicating delay calculation errors, timezone misconfiguration, or service window capacity issues. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> tracks how long each instance has been in scheduled state, alerting when durations exceed business logic expectations.

Setting both time spans to **00:00:00** turns the time check off; then only the count is evaluated. If your application intentionally uses very long delays (multi-month business processes), set thresholds beyond maximum legitimate delay duration, or use [Expected State][] to accept Warning states for known long-running processes.

##### Why Time Thresholds Matter for Scheduled Instances

Unlike other instance states, **scheduled instances are intentionally delayed**. Time thresholds distinguish between:

* **Legitimate long delays** (30-day invoice terms, 7-day approval escalations) → expected
* **Misconfigured delays** (scheduled for years instead of days) → error requiring immediate fix
* **Service window capacity exceeded** (messages waiting multiple overnight cycles) → infrastructure scaling needed

##### Example Time Threshold Configurations

* **Business hours window (9 AM-5 PM):** Warning: 20 hours, Error: 48 hours (1-2 overnight cycles)
* **30-day payment terms:** Warning: 45 days, Error: 90 days (1.5× and 3× max delay)
* **Real-time apps (no delays expected):** Warning: 1 hour, Error: 6 hours (immediate alert)

##### Diagnostic Value of Time-based Scheduled Alerts

* **Alert at 365+ days** → Definite calculation error (developer used years instead of days in TimeSpan)
* **Alert at business hours + 20 hours** → a service window backlog; overnight accumulation not clearing during open window
* **Alert at 2× intended delay** → Likely timezone error (UTC vs local time confusion) or wrong delay multiplier
* **Alert for specific orchestration type** → Delay logic error in that orchestration; review Delay shape calculations
* **Alert during deployment week** → New delay code introduced bug; review recent changes to delay logic

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p><strong>Common delay misconfiguration errors:</strong></p><ul>
<li><strong>TimeSpan calculation</strong> – <code>TimeSpan.FromDays(1)</code> intended, but <code>TimeSpan.FromHours(1)</code> used (24× difference)</li>
<li><strong>Timezone confusion</strong> – <code>DateTime.UtcNow + TimeSpan.FromHours(8)</code> on EST server = 13 hours actual delay</li>
<li><strong>Years vs days</strong> – <code>new DateTime(2027, 1, 1)</code> instead of <code>DateTime.Now.AddDays(1)</code> (scheduled for 1 year future)</li>
<li><strong>Milliseconds vs seconds</strong> – <code>TimeSpan.FromMilliseconds(86400)</code> instead of <code>TimeSpan.FromSeconds(86400)</code> (86× difference)</li>
</ul></div>
</aside>

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p><strong>Capacity formula for a service window:</strong> If instances scheduled for &gt;48 hours (2 overnight cycles), service window processing capacity is insufficient. <strong>Solution options:</strong></p><ol>
<li>Extend service window hours (open at 8 AM instead of 9 AM)</li>
<li>Add more host instances to increase parallel processing</li>
<li>Optimize orchestration/pipeline code to increase throughput</li>
<li>Stagger service windows across send ports to spread activation load</li>
</ol></div>
</aside>

|State|Name|Data Type|Description|  
|:---:|---|---|---|  
|⚠️ Warning|<i class="fal fa-clock" aria-hidden="true"></i> **Warning time span**|Timespan, such as 1.00:00:00 (1 day)|If any scheduled instance has been in scheduled state longer than this timespan, a Warning alert is raised. Set at **1.5-2× maximum legitimate delay** or **1.5× service window cycle** to catch misconfiguration. Format: **days.hours:minutes:seconds** (e.g., 2.00:00:00 = 2 days)|  
|❌ Error|<i class="fal fa-clock" aria-hidden="true"></i> **Error time span**|Timespan, such as 2.00:00:00 (2 days)|If any scheduled instance has been in scheduled state longer than this timespan, an Error alert is raised. Set at **3-4× maximum legitimate delay** or **2× service window cycle** to definitively catch errors. Format: **days.hours:minutes:seconds** (e.g., 7.00:00:00 = 7 days)|  

#### Count-based evaluation

Count-based evaluation detects **excessive scheduled instance accumulation**, indicating service window capacity exhaustion, rehydration storm risk, or uncontrolled long-running process growth. High scheduled counts require capacity planning and infrastructure scaling.

##### What Scheduled Counts Reveal

**Service window applications:**

* **0-100 instances** – Light overnight accumulation, clears quickly after window opens
* **100-500 instances** – Moderate backlog, monitor processing rate during service window
* **500-2000 instances** – Heavy backlog, may approach processing capacity limits
* **2000-5000 instances** – Severe backlog, likely exceeds service window capacity; consider infrastructure scaling
* **5000+ instances** – Critical backlog, risk of rehydration storm at window open; immediate capacity expansion required

**Long-running process applications:**

* **0-50 instances** – Low volume of in-flight long-running processes (approval workflows, payment terms)
* **50-200 instances** – Moderate volume, normal for busy business process applications
* **200-1000 instances** – High volume, monitor for linear growth indicating processes not completing
* **1000+ instances** – Very high volume, verify if count matches expected business volume or indicates completion issues

##### How to Set Count Thresholds

**Service window formula:**

* Max capacity = Processing rate/hour × Window hours
* Warning = 60-70% of max capacity
* Error = 90% of max capacity

**Long-running process formula:**

* Expected in-flight = (Daily new processes) × (Duration in days)
* Warning = 1.5-2× expected
* Error = 3-4× expected

**Example:** Service window 9 AM-5 PM (8 hrs), 200 instances/hr processing = 1600/day max capacity. Typical 800 overnight = 50% (healthy). Warning: 1000 (63%), Error: 1500 (94%).

**Example count thresholds:**

* **Service window (1000 msg/day):** Warning 1500, Error 3000  
* **Payment terms (100/day, 30-day):** Warning 4500, Error 9000  
* **Real-time apps:** Warning 10, Error 50  

##### Diagnostic Patterns from Scheduled Counts

###### Pattern: Count increases daily (backlog rollover)

* **Diagnosis:** Service window capacity insufficient; backlog accumulating day-to-day
* **Action:** Scale infrastructure urgently (add hosts, extend window hours, optimize code)

###### Pattern: Thousands scheduled for same activation time

* **Diagnosis:** Rehydration storm risk at window open
* **Action:** Stagger service windows across send ports to spread activation load

###### Pattern: Sudden count spike (500 → 5000)

* **Diagnosis:** Service window misconfiguration deployment or business volume spike
* **Action:** Check recent deployments; verify with business stakeholders

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p><strong>Rehydration storm thresholds:</strong> When &gt;1000 instances scheduled for same activation time (e.g., all at 9 AM service window open), risk of:</p><ul>
<li><strong>Thread pool exhaustion</strong> – All instances request threads simultaneously</li>
<li><strong>Memory pressure</strong> – Mass orchestration state loading into memory</li>
<li><strong>Database bottleneck</strong> – Thousands of simultaneous MessageBox queries</li>
<li><strong>Host instance crashes</strong> – OutOfMemoryException or process failure under load</li>
</ul></div>
</aside>

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p><strong>Staggering strategy for service windows:</strong> Instead of all send ports opening at 9 AM, stagger:</p><ul>
<li><strong>Group A ports:</strong> 9:00 AM (1/3 of traffic)</li>
<li><strong>Group B ports:</strong> 9:30 AM (1/3 of traffic)</li>
<li><strong>Group C ports:</strong> 10:00 AM (1/3 of traffic)</li>
<li><strong>Benefit:</strong> Spreads activation load, prevents rehydration storm, smoother resource utilization</li>
</ul></div>
</aside>

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p><strong>Capacity expansion decision point:</strong> When Error threshold breached regularly (&gt;10% of days), infrastructure scaling is required:</p><ol>
<li><strong>Immediate:</strong> Add host instances to existing servers</li>
<li><strong>Short-term:</strong> Provision new BizTalk servers, distribute hosts</li>
<li><strong>Long-term:</strong> Optimize code, extend service windows, implement throttling at source</li>
</ol></div>
</aside>

|State|Name|Data Type|Description|  
|:---:|---|---|---|  
|⚠️ Warning|<i class="fal fa-hashtag" aria-hidden="true"></i> **Warning count**|integer, such as 2500|If the total number of scheduled instances exceeds this value, a Warning alert is raised. Set at **60-70% of service window capacity** or **1.5-2× expected long-running process volume** for early backlog detection.|  
|❌ Error|<i class="fal fa-hashtag" aria-hidden="true"></i> **Error count**|integer, such as 5000|If the total number of scheduled instances exceeds this value, an Error alert is raised. Set at **90-100% of service window capacity** or **3-4× expected process volume** indicating capacity exhaustion or rehydration storm risk.|  

___

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

<i class="fal fa-display" aria-hidden="true"></i> [Monitor Views][]  
<i class="fal fa-edit" aria-hidden="true"></i> [Configuration][]  

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

[BizTalk Monitoring Agent][]  
<i class="fal fa-gears" aria-hidden="true"></i> [Administration][]  
<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Monitoring Agents][]  
<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Add or manage a Monitoring Agent Configuration][]  
<i class="fal fa-wrench" aria-hidden="true"></i> [Remote Configuration][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/Scheduled/filterbycategory.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/Scheduled/Actions.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/Scheduled/BizTalkScheduled_Details.gif
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/Scheduled/Details.png
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/Categories/Scheduled/EditThresholdsModal.png

[Add or manage a Monitoring Agent Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/
[Administration]:https://docs.nodinite.com/administration/overview/
[Applications]:https://docs.nodinite.com/administration/monitor-management/applications/features/what-is-an-application/
[BizTalk Application]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/application/overview/
[BizTalk Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/overview/
[Categories]:https://docs.nodinite.com/administration/monitor-management/categories/features/what-is-a-category/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/getting-started/configuration/
[Expected State]:https://docs.nodinite.com/administration/monitor-management/resources/features/expected-state/
[Log Audits]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[prerequisites]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/getting-started/prerequisites/
[ReadyEditThresholds]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/ready-to-run-instances/overview/#fa-edit-edit-thresholds
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Remote Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/how-do-i-configure-a-monitor-agent/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[ScheduledDetails]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/scheduled-instances/overview/#fa-circle-info-details
[ScheduledEditThresholds]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/scheduled-instances/overview/#fa-edit-edit-thresholds
[Suspended Instances]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/suspended-instances/overview/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/
[Web Client]:https://docs.nodinite.com/getting-started/overview/