Skip to main content
Version: v9

Do until Condition

With a Do until Condition Node, you can run a sub-branch (Output Do until...) until a certain condition is met.
In this case, the Do until... branch is stopped and the Flow continues on the Condition matched output.
If the condition did not match before the Do until... branch has finished, the Flow continues on the Condition never met output.

Settings​

Condition is a boolean Expression Field. It is the only setting. There is no timeout. A new Node shows Not configured until the condition is set. An empty field shows "Field is required".

Outputs​

The Node has three outputs, in this order: Do until..., Condition matched and Condition never met.

How it runs​

The Do until... branch starts at once, and the Node checks the condition continuously while the branch runs. When the condition becomes true, the branch is cancelled where it is, so the Node running in it stops, and the Flow continues on Condition matched. If the branch finishes first, the Flow continues on Condition never met. If the condition is already true when the Node starts, the branch is cancelled right away.

To wait for a digital input or output, use Do until I/O Condition.