Hi,<br><br>I'm trying to change the result of a collect operation, is this possible?<br><br>This is my sample rule:<br><br> rule "Select the only remaining value for each feature Key"<br>
when<br> # Check all not selected features<br> feature : ExpertFeature(selected==false)<br> # if there is one enable feature select this one<br>
list : ArrayList (size == 1) from collect( ExpertFeature(disabled == false, featureKey==feature.featureKey, selected==false) ) <br> then<br> # this is not working<br>
modify( list ) {setSelected(true);}<br> end<br><br>Thanks<br>Joerg<br>