OBJECTFIELD

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

OBJECTFIELD: Elements and Attributes
TYPE=OBJECTFIELD
Element Attributes Parent Element Description Element/Attribute Value

<MathVariable>

TYPE  

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

OBJECTFIELD
   

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.

OBJECTNAME
   

The name of MathVariable which is TYPE=OBJECT.

SOURCEOBJECT

CLEARVALUE

 

Optional Element:

Value: Yes / No

Default Value: No

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>