Im making an action sequence in Pentaho's Design Studio. I have a Relational action which gets datas from a database. I have a for cycle which cycles through of these datas. In every round i have an IF statement, within the statement i want to store some datas in an array for further use. After i cycled through of resultSet i want to send out an email with datas filtered by the IF statement.

So my question is, that how could i set up an array to store datas in it? How could i add items to this array?