---
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.

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

* <i class="fal fa-life-ring" aria-hidden="true"></i> [Troubleshooting Overview][]  

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

* <i class="fal fa-circle-dot" aria-hidden="true"></i> [Dynamics 365][]  
* <i class="fal fa-chart-line" aria-hidden="true"></i> [Monitoring Dynamics 365][]  
* <i class="fal fa-hand-pointer" aria-hidden="true"></i> [Managing Dynamics 365][]  

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

[Dynamics 365]:https://docs.nodinite.com/logging-and-monitoring/microsoft-dynamics-365/overview/
[Managing Dynamics 365]:https://docs.nodinite.com/logging-and-monitoring/microsoft-dynamics-365/features/managing-dynamics-365/
[Monitoring Dynamics 365]:https://docs.nodinite.com/logging-and-monitoring/microsoft-dynamics-365/features/monitoring-dynamics-365/
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Troubleshooting Overview]:https://docs.nodinite.com/logging-and-monitoring/microsoft-dynamics-365/troubleshooting/overview/
[Web Client]:https://docs.nodinite.com/getting-started/overview/