Exits the current action, regardless of its local (action) iteration attributes. The pass or fail status of the action remains as it was in the step prior to the ExitAction statement.
Syntax –
ExitAction[(RetVal)]
Example –
' Action "CheckForm" FormVersion = RunAction("GetFormVersion", oneIteration) If FormVersion = 2 Then <a name="wp1657437"></a> Call RunAction("CheckOldForm", oneIteration) <a name="wp1657438"></a> Else <a name="wp1657439"></a> Call RunAction("CheckNewForm", oneIteration) <a name="wp1657440"></a> End If <a name="wp1657441"></a> ' Action "GetFormVersion" <a name="wp1657442"></a> If IsNewForm Then <a name="wp1657443"></a> ExitAction(2) <a name="wp1657444"></a> Else <a name="wp1657445"></a> ExitAction(1) <a name="wp1657446"></a> End If