Icon

7. Loop on Condition

There has been no title set for this workflow's metadata.

Loop on Condition

This workflow implements a loop cycle on condition, that is a loop that stops when a given condition is met.

It is a game. I think of a number and write it into the Table Creator node. Then I start the loop with a Generic Loop Start node.
In the loop I prompt the user to guess the number I thought. He should write his guess into the String Input Widget node.
If the answer is not right, the user is prompted again till the answer is right OR he has already tried 3 times.
The condition is built by the Rule Engine Variable node into the flow variable "success" and verified by the Variable Condition loop End node. If the condition has been met, the loop stops.

Nodes

Extensions

Links