HELP!

Determining the Object's Base Class

Viabl Platform Variable Objects (e.g. Questions or Decision Trees) are derived from particular Base Classes. You can retrieve the Base Class of an object via the following .parentObj() method.

 var gradeParent = #Grade.parentObj();
 xpertrule.message("Grade is an instance of a " + gradeParent.aName + " object"); 
If the Object does not have a Base Class (a non-variable Viabl Platform Object such as a Dialog or a Base Class), then the method will return null