Skip to content
Documentation
Updated 2 minutes to read
Markdown

How does Nodinite detect when a Dynamics 365 workflow has failed?

Section titled “How does Nodinite detect when a Dynamics 365 workflow has failed?”

Nodinite tracks Dynamics workflow state via 3 detection mechanisms:

  1. Workflow status monitoring - Uses polling of the Dynamics 365 Web API every 60 seconds, retrieves workflow metadata including status: Running (workflow active and enabled), Stopped (workflow disabled or suspended), Draft (workflow not published), Suspended (workflow paused due to error or manual intervention). Alert triggers on workflow failure: Workflow stops unexpectedly (Running → Stopped without scheduled maintenance window), workflow suspended (requires manual intervention).

  2. Workflow execution history analysis - Polls workflow execution logs (last 100 executions per workflow), analyzes execution status: Succeeded, Failed, Canceled, In Progress. Alert triggers when: Error rate exceeds threshold (>5% of executions failed in last hour), consecutive execution failures (3+ errors in row), execution stuck (In Progress >10 minutes for workflow with 45-sec baseline).

  3. Workflow performance monitoring - Tracks execution duration trends (12-month history), compares current execution time against baseline. Alert triggers when: Execution duration exceeds threshold (>2× baseline: 90 seconds for 45-sec baseline), execution duration increasing (8%+ weekly increase, statistically significant trend, projects timeout risk), execution timeout (>5 minutes = Dynamics workflow timeout limit).

"Workflow: LoanApplicationProcessing | Status: Running | Last Execution: Failed | Error: System.TimeoutException: The operation has timed out | Executions last hour: 6 Succeeded, 4 Failed (40% error rate exceeds 5% threshold) | Execution duration: 4.8 min (baseline 45 sec, +640% increase) | Action: Investigate performance degradation, restart workflow via Remote Actions"

Browse more Microsoft Dynamics 365 FAQ topics in the Troubleshooting Overview.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...