Diagram explorer

A late order event and the check at send time

A sequence between the shop, the order system, the CRM workflow and the email service.

Read the full description

The shop sends a basket event at 10:00 with an event ID, and the workflow plans a reminder for the next day. The customer buys at 09:50 on that day. The order event does not reach the workflow in time. At 10:00 the workflow asks the order system whether an order exists for this basket. The answer is yes, and the reminder is cancelled. The late event arrives at 10:05 and is ordered by its source time. The email service receives no request.

Relationship map
01 Shop02 Order system03 CRM workflow04 Send-time check05 Email service
01 / 05

Shop

The shop records the basket and later the purchase. Each event carries the time at the source and an event ID.

02 / 05

Order system

The system of record for a confirmed purchase. Its event can arrive late, and its status can be asked at any time.

03 / 05

CRM workflow

The workflow plans the reminder after the basket event and orders all events by their source time.

04 / 05

Send-time check

Before a message leaves, the workflow asks for the current order status. A missing or stale answer follows a defined rule.

05 / 05

Email service

The service receives no request in this case. When it does, the send key lets a retry return the first result.