{
  "version": "3.16",
  "name": "TC While Loop: Counter 0 to 4",
  "registry": {
    "params": [],
    "vars": ["$counter(INT)", "$log([STRING])"]
  },
  "steps": [
    {
      "id": "Set_Init",
      "target": "$counter",
      "value": "0",
      "next": "Loop_Count"
    },
    {
      "id": "Loop_Count",
      "while": "=$counter < 5",
      "maxIterations": 10,
      "mode": "serial",
      "children": ["Set_Log"],
      "next": "Stop_End"
    },
    {
      "id": "Set_Log",
      "target": "$log[_index]",
      "value": "=\"iter_\" + $counter",
      "next": "Set_Inc"
    },
    {
      "id": "Set_Inc",
      "target": "$counter",
      "value": "=$counter + 1",
      "next": "RETURN"
    },
    { "id": "Stop_End" }
  ]
}
