Core.Actions.Return
Jump to navigation
Jump to search
Classification
Name | Return |
Short Description | To exit a procedure |
Class | End Node |
Extension | OTX Core library |
Group | End node related actions |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
return;
Description
Normally, a procedure is terminated after the last activity. The current procedure passing the control to the calling procedure. The OTX return activity can however the procedure at any point within be terminated prematurely. The following activities are no longer carried out.
Important: Please note the special behavior within an Parallel activity. |
OTL Examples
String stringVar1;
Boolean Condition1 = true;
if (Condition1)
{
return;
}
else
{
}
stringVar1 = "I will never happen because of the Return";