Professional · Integrations and Data Exchange Module: Step 2: Security and reliability
When things fail
Assume connections fail. Log every exchange, retry safely without creating duplicates, and alert a named owner.
Learning objectives
- Assume the connection will fail and name the person who is alerted
- Log every exchange so a duplicate can be seen
- Retry in a way that does not create a second lot for the same delivery
Walk the screen
- Name an owner for the feed. Alerts go to that person, not to a shared inbox nobody opens.
- Log each attempt with the time, the lot reference if one was returned, and whether it succeeded.
- On failure, retry the same delivery. Match on the lot reference or the ticket number you already stored so a second save is refused.
- If the first save succeeded and the response was lost, the retry must find the existing lot and stop.
- Do not delete the log after a success. The log is how you explain a doubled truck.
- Review failures in the weekly operations review if they touched intake, stock, or payments.
Worked example
The feed times out after Material Intake has already saved net 12,200 kg. The retry sends the same ticket again. The log shows the first save. The second call does not create another lot. The owner sees one failure line and one existing lot, not two payments.
Common mistakes
- Retrying by always clicking Log Intake again.
- Alerting 'the IT team' with no name.
- Turning off the log because it was noisy on a good day.
Recap
- Connections fail. Log them and name an owner.
- A retry must be safe to repeat without a duplicate record.
- A lost response after a successful save is still one lot.
Badge
Completing this level is the badge Integration Builder.
Badge on completion: Integration Builder
Quiz for this module: Step 2: Security and reliability.
