Posted On: Sep 7, 2023

AWS Step Functions announces the availability of enhanced error handling capabilities in your AWS Step Functions workflows to help you identify errors more clearly and provide you with fine-grained control over your retry strategies. AWS Step Functions is a visual workflow service capable of orchestrating 12,000+ API actions from over 220 AWS services to automate business processes and data processing workloads.

With enhanced error handling, you can construct detailed error messages in Fail states, including dynamic information about the error cause at runtime. Now you can set a maximum limit on retry intervals, providing greater control over your retry strategies, so that exponential retries do not exceed desired timeframes. The addition of jitter allows you to introduce randomization to your retry intervals, which helps to prevent overloading of services called from your state machine during recovery situations.

AWS Step Functions Enhanced Error Handling is available in the regions listed here. For a complete list of regions and service offerings, see AWS Regions.

You can get started with Enhanced Error Handling in the AWS console, AWS CloudFormation, the AWS Command Line Interface (CLI), or the AWS Cloud Development Kit (CDK). To learn more, please see the AWS Step Functions Developer Guide to get started.