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 element
  • state.getEntities(“hierarchy::HIERARCHIC,targetrole=containerElement”) returns a single element list with the work product for a specific state element
  • activitiy.getEntities(“input”) and activity.getEntries(“output”) now return a list of either work products or states
  • getProperty(“Dependent”) can be used to determine if an element is a normal element (= false) or state element (= true)