---
title: Can Nodinite automatically restart failed Dynamics 365 workflows?
description: Can Nodinite automatically restart failed Dynamics 365 workflows? Learn how to configure Auto-Healing with Remote Actions for automatic workflow remediation.
---

# Can Nodinite automatically restart failed Dynamics 365 workflows?

**Yes, via Auto-Healing feature.** Configure automatic remediation actions when specific alerts fire:

## Example 1: Auto-Restart Transient Workflow Failures

* Alert: Workflow "LeadAssignment" execution error with message contains "SocketException: Connection refused" or "TimeoutException"
* Auto-Healing Action: Wait 2 minutes (allow transient network issue or Dynamics service interruption to resolve), restart workflow via [Remote Actions][], if still failing after restart → escalate to PagerDuty

## Example 2: Auto-Enable Suspended Workflows After Business Hours

* Alert: Workflow status = "Suspended" longer than 30 minutes outside scheduled maintenance window (Suspended state indicates workflow paused due to error or manual intervention)
* Auto-Healing Action: Check workflow execution history (if last 5 executions all Succeeded before suspension, likely transient issue), re-enable workflow via Remote Actions, send notification to operations (workflow auto-enabled, monitor for recurrence)

## Example 3: Auto-Alert License Threshold Breach

* Alert: Inactive user count >10% of total licenses (87 inactive users / 450 total = 19.3% waste threshold)
* Auto-Healing Action: Generate license optimization report (list inactive users + last login dates + license cost), email to IT management + Finance (actionable recommendations: deprovision 87 users = $99K annual savings), schedule follow-up alert in 30 days if no action taken

## Safety Guardrails

Auto-Healing includes limits to prevent runaway automation: Maximum 3 restart attempts per hour per workflow (prevent infinite restart loop if problem not transient), require approval for production actions (auto-restart in Sandbox/UAT, approval required for Production), complete audit trail (every Auto-Healing action logged with timestamp + trigger alert + action result).

## Configuration

[Web Client][] → Settings → Auto-Healing Rules → Add Rule → Select alert type (Dynamics workflow error) → Configure action (Restart workflow) → Set conditions (error message contains "TimeoutException") → Set limits (max 3 restarts/hour) → Save.

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

* :fa-life-ring: [Troubleshooting Overview][]  

## :fa-link-horizontal: Related Topics

* :fa-circle-dot: [Dynamics 365][]  
* :fa-chart-line: [Monitoring Dynamics 365][]  
* :fa-hand-pointer: [Managing Dynamics 365][]  

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

[Dynamics 365]:{ndr}/Logging%20and%20Monitoring/Microsoft%20Dynamics%20365/Overview.md
[Managing Dynamics 365]:{ndr}/Logging%20and%20Monitoring/Microsoft%20Dynamics%20365/Features/Managing%20Dynamics%20365.md
[Monitoring Dynamics 365]:{ndr}/Logging%20and%20Monitoring/Microsoft%20Dynamics%20365/Features/Monitoring%20Dynamics%20365.md
[Remote Actions]:{ndr}/Getting%20Started/3.%20Monitor/Remote%20Actions.md
[Troubleshooting Overview]:{ndr}/Logging%20and%20Monitoring/Microsoft%20Dynamics%20365/Troubleshooting/Overview.md
[Web Client]:{ndr}/Getting%20Started/Overview.md