Articles tagged workflow
-
Saga Compensation in Temporal: Refunding an Undelivered Order with a Child Workflow
A saga pattern worked out in code: a parent workflow dispatches a child consignment workflow, blocks until it returns, and runs refund + cancellation activities if the child reports an undelivered outcome.
-
Signal or Timeout: Handling Payment Confirmation in a Temporal Workflow
A focused look at Temporal's Workflow.await(Duration, Supplier) - the cleanest way I know to wait for an external signal with a bounded timeout, and fall back to an activity if it never arrives.