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.
Workflow
7. Loop on Condition
Used extensions & nodes
Created with KNIME Analytics Platform version 5.2.0
- Go to item
- Go to item
- Go to item
- Go to item
- Go to item
- Go to item
Legal
By using or downloading the workflow, you agree to our terms and conditions.