SBM Orchestration Guide → Orchestration Procedures → Using the Step Palette → Using the While Step
The While step repeatedly executes the operations you specify while the conditions defined in the rule are true, or until the conditions are false. The rule is an expression, as described in About the Expression Editor.
When you click a While step, the General and Options tabs appear in the Property Editor. The General tab provides a name and an optional description for the step. The Options tab defines the rule for the step.
Select an orchestration workflow to display it in the orchestration workflow editor.
In the New Items section of the Step Palette, drag and drop a While step onto the line between the Start and End steps.
On the General tab of the Property Editor, you can change the name of the While step and you can also enter a description.
On the Options tab, in the Rule section, enter an expression that represents the rule that must hold true for the While step actions to repeat. You can use any of the functions, logical operators, or arithmetic operators available on the Functions, Logical, and Operator menus, respectively.
For more information about expressions, see About the Expression Editor.
Add other steps from the Step Palette to the repeating section (the top loop) to define the actions that should be taken or calculations that should be performed while the While step is true.
Add other steps from the Step Palette to the nonrepeating section (the bottom loop) to define the actions that should be taken or calculations that should be performed if the While step is false.
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.