Friday, August 01, 2014

Retrieve BPM composite version from ADF

It is a common scenario that you use the same ADF app for different versions of the BPM flow. In those cases you would like to control the visibility of the new features of the ADF app that supports the BPM flow changes ..

Here is the way to read this info from ADF

Add below to you page definitions..

 <accessorIterator id="scaIterator" MasterBinding="taskIterator"  
             Binds="sca" RangeSize="25"  
 <attributeValues IterBinding="scaIterator" id="compositeVersion">  
       <Item Value="compositeVersion"/>  


And then control your features as below, assuming the new button is visible at 1.10

rendered="#{bindings.compositeVersion.inputValue  >= 1.10 }”