From 34da69dc8f82a48c5ea2c10b3d2ebc80da87073c Mon Sep 17 00:00:00 2001 From: Guillaume Delacour Date: Tue, 22 Nov 2022 23:45:48 +0100 Subject: [PATCH] Use cause when customer timedout Closes: #15 --- instructions/content/1b-workflow/6-WaitForOrder/_index.en.md | 1 + 1 file changed, 1 insertion(+) diff --git a/instructions/content/1b-workflow/6-WaitForOrder/_index.en.md b/instructions/content/1b-workflow/6-WaitForOrder/_index.en.md index cb1d72a..6b43568 100644 --- a/instructions/content/1b-workflow/6-WaitForOrder/_index.en.md +++ b/instructions/content/1b-workflow/6-WaitForOrder/_index.en.md @@ -64,6 +64,7 @@ In this section, you add an EventBridge PutEvents state that emits an event when - For *Comment*, enter `Customer timed out`. - For *Errors*, select **States.Timeout**. - For *Fallback state*, select **Add new state**. +- For *ResultPath*, enter `$.cause`. - Choose **Close**. ![Drag UpdateItem to designer](../images/se-mod1-wait4.png)