I have to check the value of an attribute in a parent node in reporterPLUS to for evaluating a conditional statement for outputting attributes of a child node. How do you use the Path notation to navigate to these parent attributes and get the values?
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
3 replies Latest Post - 2012-11-27T12:40:00Z by SystemAdmin
Pinned topic Using Q language in ReporterPLUS to check an attribute in a parent node.
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-27T12:40:00Z at 2012-11-27T12:40:00Z by SystemAdmin
Re: Using Q language in ReporterPLUS to check an attribute in a parent node.2009-03-23T10:17:19Z in response to SystemAdminThe below query evaluates the parent's attribute (patt) and then gives the child attribufte' name if TRUE else gives nothing.
if there_exists x in owner->baseClassifiers->attribute => $name = "patt" and $attDefaultValue = "20" then $name else ""
Hope this helps,