Home icon

DoWhile loops now supported in Amazon Bedrock Flows

Machine Learning Blog



AWS has announced support for DoWhile loops in Amazon Bedrock Flows, enabling more sophisticated and iterative generative AI workflows.

  • Allows creation of condition-based, iterative workflows within Amazon Bedrock
  • Supports multiple node types inside loops, including Prompt, Lambda, and Inline Code nodes
  • Enables complex use cases like content refinement and recursive analysis
  • Provides builder-friendly loop management through AWS Console and API
  • Allows up to five condition checks and a maximum iteration limit

The feature simplifies workflow development by allowing developers to create adaptive AI solutions directly within the Amazon Bedrock environment, without external orchestration tools.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Aug 21
2025
Inline code nodes now supported in Amazon Bedrock Flows in public preview
Nov 22
2024
Amazon Bedrock Flows is now generally available with two new capabilities
Jul 11
2025
Long-running execution flows now supported in Amazon Bedrock Flows in public preview
Jun 25
2025
Amazon Bedrock Flows announces preview of persistent long-running execution and inline-code support

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.