Variable declaration and use
Variables of the Record
and RecordList
types
do not have to be declared on the same line as the assignment of the output
from stitcher rules like RetrieveOQL();
.
As long as the variable has previously been declared it can be
assigned the output from a RetrieveOQL();
rule. The following
example is also a valid use of the Record
datatype.
Record newEntity = NULL;
newEntity = GetInScopeRecord();