Troubleshoot Leave Workflow Integration
Summary
Safe triage for Workflow start, callback, duplicate, and state-reconciliation issues.
Audience
Employees or administrators affected by the scenario, first-line support, QA, service owners, and architects.
Symptoms
A Workflow-enabled request remains Pending, start fails, callback fails, or states diverge.
Scope
Optional Workflow orchestration and Leave callback/state correlation.
Cause
The cause must be confirmed from current state and source-backed evidence.
Likely causes
- Workflow unavailable or rejected start
- Correlation missing/mismatched
- Callback failed or arrived after state changed
- Duplicate callback
- Leave/Workflow state divergence
Safe diagnostic steps
- Confirm Workflow mode and current Leave state.
- Use safe correlation evidence to locate the corresponding Workflow instance/status.
- Review source-safe start/callback logs without inspecting trust material.
Resolution
Restore the dependency or reconcile states through Leave and Workflow owners. Do not invoke or replay callbacks manually.
Safe resolution
Use only the resolution above and approved operational processes. Do not modify databases, replay messages, bypass authorization, or repeat ambiguous state-changing actions.
Validation
Confirm both systems agree on the expected terminal/non-terminal state and only one decision effect exists.
Evidence to collect
Collect the safe UTC window, route/operation category, response/status category, deployed version, affected scope count, and a correlation identifier. Exclude credentials, tokens, personal Leave details, employee identifiers, payloads, configuration values, and private topology.
Escalation
Workflow and Leave service owners; Identity/security or gateway owner for protected-call failures.
Related documentation
Source References
microservices/src/leave-service/Application/WorkflowIntegration.csmicroservices/src/leave-service/Infrastructure/WorkflowServiceClient.csmicroservices/src/leave-service/Api/LeaveEndpoints.cs
Related Articles
See Also
Keywords
- Leave troubleshooting
- Troubleshoot Leave Workflow Integration
- Safe diagnostics
Revision Information
- Status: Draft
- Last reviewed: 2026-07-15
- Review cycle: Quarterly