AnsweredAssumed Answered

How to read error message attached to business shape rule from XML?

Question asked by ukamble361217 on Jan 24, 2017

Using below code, we are reading the business rule title, wanted to know the property to read the error message assigned for particular business shape rule?

 

if (xml) {
def rootNode = new XmlParser().parseText(xml)
Error_Codes = rootNode.business_rule_failure.@rule
}

Outcomes