Results Datastore Population

Population of the results datastore is based on mapping the output from the rules to the results datastore, hence the requirement that the requirement that the output of the rules be tailored to the results datastore schema. The actual mapping is for the most part automatic but customers can influence this mapping via annotations. The Motivation_Display_Element annotation's resultSchemaElement allows a RuleObject outputted by the rules to be mapped to an element in the result schema where the name of the RuleClass and the name of the logically equivalent element in the result schema are different. If the RuleClass name and the the name of the logically equivalent element in the result schema are the same, mapping is automatic and no annotation is required. Irrespective of the mapping being driven by an annotation or not, the mapping is driven by the contents of the result schema..