blokboard/ Open beta

EXAMPLE 03 OF 8 · Starter

Iterate a checklist

Process three items from a Global, then continue once every item path has finished.

BrowserArraysLoopsGlobals

Before you begin

  • Use the Browser runtime. No credentials or network requests are needed.

WORKFLOW SNAPSHOT

Iterate a checklist

4 nodes

Interactive workflow preview loads here. Download the JSON to inspect it in the app.

Import creates an inactive copy. Set your own inputs and connections before running.

Opens as a new, inactive workflow. Review the nodes before running.

Walk through the workflow

  1. Choose Use this workflow. Its items Global contains Plan, Build, and Review.
  2. Inspect Iterate: Items reads {{global.items}} as an array. Sequential is on, so each checklist entry finishes before the next starts. done follows all item paths.
  3. Run once. The Variable node on the item path executes three times, producing a message for Plan, Build, and Review.
  4. Inspect the final Variable node on the done path. Its output reports completed: 3. Add an item to the items Global and run again.

Check execution counts

The item path should produce Complete: Plan, Complete: Build, and Complete: Review. The summary path runs once and returns {"completed":3} after the item paths finish.

Make one change

Add a Wait node after the item Variable. Sequential waits through it before starting the next entry. Turn Sequential off to allow the item paths to overlap; done still waits for all of them. Then set items to an empty array: expect no item messages and {"completed":0}.

If it does not match

Ensure items is an array in Globals and Items contains the exact expression {{global.items}}. Iterate’s done output counts items; it does not collect the messages produced downstream. See Iterate.