Async patterns in Step Functions

From time to time we need our State Machines to wait for some async action, for example a webhook call, and we created a mechanism which we use all over our systems for that. We used it also to create a "recovery" pattern which we utilize to prevent fatal errors in executions.

Get your free conference access and learn more about Serverless:

Serverless Summit 21
Serverless Summit 2021 is a global fully online event organised by globaldatanet. It will comprise 2 days with each 4 hours of content, fully focused on serverless and AWS.

You can read more about this topic also in Radovan's blog post:

Asynchronous actions with AWS Step Functions
Callback Patterns are a very powerful feature of AWS Step functions, providing an easy way how to control the state machine execution flow. Let’s build a scalable solution which helps us track the current state of an execution and handles external asynchronous actions triggered by other services.