Skip to main content

While

The following table provides information regarding the 'While' SFCodeBlock.

While SFCodeBlock

CategoryLogic
DescriptionRepeat the execution of the inner connected stacked SFCodeBlocks until the condition is true. The While statement requires you to define an expression, or multiple expressions taking advantage of multi patterns support, that evaluates to true of false.

Please refers to SigmafineHub Expression topics for more details on how to define an expression.

Please refer to the "SFHub Expressions Guide" for more details on how to define an expression.
InputCurrent AF Element
ParametersNone
Pattern SupportYes
ReturnsNone
ConfigurationTo configure the While code block:

1. Click on the Add button to open the configuration panel.

While SFCodeBlock

2. Enter your configuration values in the While configuration panel

While Configuration Panel

The While configuration panel allows you to choose an analytic and configure how you want it executed. The following table describes the configuration options.

While Configuration

ItemRequiredDescription
ExpressionXExpression containing the condition to be evaluated.
Please refers to SigmafineHub Expression topics for more details on how to define an expression.
danger

Important: It is your responsibility to configure an expression that does not result in an infinite loop.