Try using a function like this in your entity activity; it stores your
individual fields into one vector object.

________________

function collect( )
{
var result = new Packages.java.util.Vector();
try
{
if ( flowdata.get( "Start/request_form/TrackID" ) != "" )
result.add( flowdata.get( "Start/request_form/TrackID" ));
if ( flowdata.get( "Start/request_form/TrackID2" ) != "" )
result.add( flowdata.get( "Start/request_form/TrackID2" ));
}
catch( e ) { }
return( result );
}

collect( )

________________

Wolfgang


On 07.06.2012 23:46, joakim ganse wrote:
>
> What he is suggesting i that you add another entity activity after the
> one you got and only add the second value in it, make sure to append and
> not replace.
>
> That would work, a more elegant way would be to make an array of the
> values and add the array to the attribute but im not sure about how to
> do that and it would require somewhat more complex code.
>
>