Posted On: Sep 12, 2023

Amazon Step Functions announces the availability of enhanced error handling capabilities in your Amazon Step Functions workflows to help you find failures faster and provide you with fine-grained control over your retry strategies. Amazon Step Functions is a visual workflow service capable of orchestrating over 10,000 API actions from over 220 Amazon Web Services 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 actual 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.

This feature is available in all Amazon Web Services regions where Amazon Step Functions is available, including Amazon Web Services China (Beijing) Region, operated by Sinnet and Amazon Web Services China (Ningxia) Region, operated by NWCD.

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