Keep a flaky order from killing the workflow

Try this labAll DVA-C02 practice

Certification
DVA-C02
Format
Structured configuration
Difficulty
medium
Estimated time
16 min
Automated checks
9

SCENARIO

A brief Lambda service fault now fails an order workflow immediately, while persistent failures discard the order that operations needs to investigate. The transient service errors recorded are Lambda.ServiceException, Lambda.AWSLambdaException, Lambda.SdkClientException, and Lambda.ClientExecutionTimeoutException; throttling uses Lambda.TooManyRequestsException. OrderValidationError should go straight to the existing failure state, and States.Runtime must remain terminal.

TASK

Repair order-recovery.asl.json so listed transient service errors and throttling can recover within two retries and ten seconds of total retry delay.

  • Persistent and validation failures must reach OrderFailed with the original order retained and error details at $.failure.
  • Preserve the supplied Lambda integration and terminal states, keep successful orders completing normally, and leave States.Runtime terminal.

Part of DVA-C02 preparation