Excellent troubleshooting! Let me provide a complete solution covering all the workflow routing aspects:
1. Workflow Transition Conditions:
Your approval step transition conditions must be properly configured to evaluate before task assignment. In the workflow designer, verify the manager approval element has conditions like:
- Quote amount > $50,000
- Customer credit status = Approved
- Quote status = Submitted
These conditions should be in the “Condition” tab of the approval element, not in the step configuration. If conditions are misplaced, the workflow creates tasks but routing logic fails.
2. Task Delegation Rules:
Completely remove old delegation rules rather than deactivating them:
- Navigate to System Administration > Setup > Workflow > Delegation
- Filter by the manager’s user ID
- Delete any historical delegations (even if marked inactive)
- Verify no conflicting delegations exist for the same date ranges
Delegation rules override direct assignments, so clean configuration is critical.
3. Role-Based Security Configuration:
The workflow system account needs specific privileges to create work items for target users:
Required privileges for Sales Manager role:
- Maintain work items (WorkflowWorkItemMaintain)
- View work items (WorkflowWorkItemView)
- Execute workflow (WorkflowExecute)
Grant these to the workflow system account:
System Administration > Security > Security configuration
→ Roles: Workflow service account role
→ Duties: Add "Maintain workflow work items" duty
Without these privileges, task assignment completes but work item creation fails silently.
4. Notification Configuration:
Notifications are independent of task routing. Verify both are configured:
In workflow element properties:
- Assignment tab: Set to “Participant” → “Manager” (hierarchy-based)
- Notifications tab: Enable “Assignment” notification
- Template: Select appropriate email template
Validate notification recipients:
Test notifications separately from task assignment to isolate issues. If emails arrive but tasks don’t, it’s always a security or hierarchy problem.
5. Worker Hierarchy Validation:
Even with correct security, Worker hierarchy must be properly configured:
- Navigate to Human Resources > Workers > Positions > Position hierarchy
- Verify manager’s position is correctly placed in the organizational hierarchy
- Confirm the workflow uses the same hierarchy type (Organization hierarchy vs. Position hierarchy)
- Check that the hierarchy is set as “Workflow” purpose-enabled
6. Workflow History Diagnostics:
For future troubleshooting, always check detailed execution logs:
System Administration > Inquiries > Workflow > Workflow history
→ Select stuck workflow instance
→ Click "Tracking details" button
→ Review each workflow element execution
→ Look for errors/warnings in the message log
Security-related failures often only appear in tracking details, not in the main status view.
7. Testing Protocol:
After applying fixes:
- Create a test quote under $50K (should bypass manager approval) - verify it completes
- Create a test quote over $50K with approved customer - verify it routes to manager
- Have manager check Action Center for work item visibility
- Test notification delivery separately
- Monitor workflow history for any new errors
Resolution for Your Specific Issue:
The root cause was missing “Maintain work items” privilege on the workflow system account for the Sales Manager role. This allowed task assignment to complete (triggering notifications) but prevented actual work item creation in the manager’s queue.
After adding the privilege, your 23 stuck quotes should be retrievable by resubmitting them through the workflow (recall and resubmit). They won’t automatically resume from the stuck state.
Prevention:
Implement workflow monitoring alerts that trigger when tasks remain in “Assigned” status for more than 24 hours without user interaction. This helps catch routing issues before they accumulate.
This draft is based on general Microsoft Dynamics 365 knowledge. It has not been verified against your specific version and environment. Practitioners: verify the steps and share your experience below.