This is an old revision of the document!
States for Work Products
TBD
Reporting API Extensions
The reporting API has been extended to access the work product states via new entities:
workProduct.getEntities(“hierarchy::HIERARCHIC,targetrole=dependentElements”)
returns the list of states for a work product elementstate.getEntities(“hierarchy::HIERARCHIC,targetrole=containerElement”)
returns a single element list with the work product for a specific state elementactivitiy.getEntities(“input”)
andactivity.getEntries(“output”)
now return a list of either work products or statesgetProperty(“Dependent”)
can be used to determine if an element is a normal element (= false) or state element (= true)