Back to Workflows

Workflows · Logic

While

Repeats a path while a condition remains true.

What it does

Checks a condition, follows the True path while it matches, and leaves through the False path when it no longer matches.

When to use it

Use it for controlled repetition, such as checking several items or retrying a step with a clear limit.

How to use it

  1. 1Choose the condition.
  2. 2Set the maximum number of iterations.
  3. 3Connect True back to the loop body.
  4. 4Connect False to the next step after the loop.

Settings

  • Condition.
  • Maximum iterations.

Tips

  • Always set a realistic maximum.
  • Make sure something in the loop can eventually make the condition false.
While — Kronos AI Docs | Kronos AI