Setting Node Value for ClassProperties ValueHolder

Discussion created by Guest on Nov 23, 2012
Latest reply on Jan 23, 2013 by Jostein Ulseth

I am trying to assign value of class property to the ClassProperty ValueHolder( Type of Class Properties Provider) by using ROM API using below scipt.




// Actual function

  protected void setNodeValue(String path, String value) throws NdRMAException


                                  NdInstanceElementNode valueNode = rmaRuleSetInstance.lookupInstanceElementNode(

                                  NdAbstractInstanceNode.INSTANCE_SECTION_INSTANTIATION, path, false);

                                  rmaRuleSetInstance.setNodeValue(valueNode, value);




where "condition" is the class property and vhRuleSet, vhRule[3] ,vhCode, classPropertiesVH are the nodes. (With Static Override of Class is already provided in the template).


But the above script is not working i.e the value is not getting assigned to node.

But for String or Integer Provider I am able to assign the value.


Please let me know any alternative or cause for it.