The If Step
End the Operator output branch of the Simple Recognition step by dragging an If step from the General palette to the Design pane, and dropping it over the Call Redirect icon under the Simple Recognition step, as shown in figure Name To User—No Output Branch of Implicit Confirmation Step.
Then configure the If step to allow the script to determine whether or not the maximum number of retries has been reached, by evaluating the expression “attempts < MaxRetry”, (“the number of attempts, as stored in the attempts variable, is less than the maximum number of retries, as stored in the MaxRetry variable”).
The If step has two output branches, True and False. (Seee figure, Simple Recognition—Operator Output Branch.)
-
The True Output Branch
-
The False Output Branch