This is an old revision of the document!
States for Work Products
Work Product represents the artifact, outcome or a deliverable created or consumed during the process. In the overall context of a process, a work product progress through various states due to increased maturity or added content. This change in state can happen within a workflow or through course of different workflows during the product or program lifecyle. For example, a work product like 'Software Project Plan' would typically through change in states like 'draft', 'approved', and 'released' in a Project Management process.
Similar to other modeled process elements, work products can also be modeled and then reused across processes.
Add a work product state
Edit a work product state
Reconciling 'Comment' with state features
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)