Helpdesk Commands
Audience
Developers, QA and architects.
Summary
No standalone command classes, mediator or command bus were found. Write behavior is implemented as endpoint-local handlers and request records.
Reference Content
Verified writes include ticket creation, assignment, comment creation, generic/dedicated status changes, attachment upload/delete, manual SLA breach/escalation, SLA check, reference-data creation, SLA-policy creation and compatibility create/update/status operations.
Canonical handlers generally follow load/validate, mutate, add audit/timeline/event, then one SaveChanges call. The event outbox row shares the DbContext unit of work. Document upload occurs before the relational save, so a later save failure can leave an external orphan. Attachment deletion removes the local association only.
Requires confirmation
Command boundaries, idempotency keys, concurrency handling, compensation for external files and authorization per write require confirmation.
Source References
microservices/src/helpdesk-service/Api/HelpdeskEndpoints.csmicroservices/src/helpdesk-service/Infrastructure/Persistence.csmicroservices/src/helpdesk-service/Domain/HelpdeskEntities.cs
Related Articles
See Also
Keywords
Helpdesk commands, write handlers, SaveChanges, outbox, idempotency.
Revision Information
- Status: Draft
- Last reviewed: 2026-07-20
- Next review: 2026-10-20