A message is not always unique
A system can present the same event again, for example after a temporary failure. If each notification immediately triggers a new task, the same customer may receive multiple messages.
Recognize the same event
Use a fixed reference to the request, invoice or order. Before taking any action, check whether this event has already been processed.
Save the result
Record what action was performed and what reference the target system returned. In the event of a repeated notification, the workflow can use that outcome.
Try again with a test
Deliberately serve the same sample event twice. Then check that one customer record, one task and one message have been created.


