Keep notifications separate from workflow completion
A notification request, a provider acceptance and a delivered message are different states. Preserve uncertainty after a timeout rather than reporting a completed send.
Short answer
A notification request, a provider acceptance and a delivered message are different states. Preserve uncertainty after a timeout rather than reporting a completed send.
A notification request, a provider acceptance and a delivered message are different states. Preserve uncertainty after a timeout rather than reporting a completed send.
Track the message independently
Keep the underlying request state separate from the notification's queued, accepted, delivered or failed state. The provider accepting a request does not prove delivery.
Make uncertain outcomes recoverable
After a timeout, preserve the message reference and show an unknown outcome. Retry with a duplicate-prevention strategy so a second click does not create a second business action.
Try it with a sample
Simulate a fictional update whose provider response is unknown, then check that a repeated click does not create an unexplained duplicate action.
What a useful result looks like
The request stays correct even when delivery is unknown, and a retry has a traceable outcome.
Before using real records
No real messages should be sent during the sample check.
Try it in First
Frequently asked questions
- What should I look for in the first version?
- The request stays correct even when delivery is unknown, and a retry has a traceable outcome.