OBJECTFIELD

OBJECTFIELD provides a method for retrieving values from an object instance created in prior statements.

OBJECTFIELD: Elements and Attributes
TYPE=OBJECTFIELD
Element Attribute Attribute Value Definition

<MathVariable>

TYPE OBJECTFIELD

The name of the field from which the value will be retrieved.

  OBJECTNAME

Name of the object where the data resides. This coincides with a database table name.

This will be the same OBJECTNAME listed in the associated TYPE=OBJECTLOOP statement.

  SOURCEOBJECT

The name of MathVariable which is TYPE=OBJECT.

CLEARVALUE

Value: Yes / No

Default Value: No

Optional Element:

Yes: The value of the math variable will be deleted after the execution of all the Attached Rules at the end of activity processing and will not be visible on the Math tab in the Activity details screen.

No: The value of the math variable will be retained after activity processing and will be displayed in the Math tab in the Activity details screen.

XML Example

<MathVariable 
 VARIABLENAME="EachClientGUID" TYPE="OBJECTFIELD" OBJECTNAME="Client" 
 SOURCEOBJECT=”r;IndividualClient">NameofField
</MathVariable>