aws-samples / aws-stepfunctions-examples

AWS Step Functions is an orchestration service for reliably executing multi-step processes using visual workflows. This repository includes detailed examples that will help you unlock the power of serverless workflow.
MIT No Attribution
225 stars 83 forks source link

New Sample - Cross-execution concurrency control for Step Function workflow #52

Open junguo opened 1 year ago

junguo commented 1 year ago

Map state can be used to control concurrency within the same execution, however there is no built-in mechanism to control cross-execution concurrency. There are actual use cases where one wants to cap the number of executions in a workflow due to limitation such as API invocation quota and/or human involvement. This project is to develop a sample flow/pattern that utilizes listExecutions() API call to implement a cross-execution concurrency control over step function work flows