Sure, split the string:

________________

function collect2( )
{
var result = new Packages.java.util.Vector();
try
{
var ar=flowdata.get( "Start/request_form/TrackID" ).split("|");
for ( var i=0;i<ar.length; i++ ) result.add( ar[i] );
}
catch( e ) { }
return( result );
}

collect2( )

________________

Wolfgang


On 11.06.2012 21:16, lvaradha wrote:
>
> Thanks Wolfgang i will try this method.
>
> And one more question. Is it possible to update the mutivalued
> attribute using single form filed?
> eg:
> Form filed
> TrackID= ABC | IUS
>
> Here in my form filed TrackID i have given 2 values in one form filed
> with delimiter " | ".Is it possible to update this 2 values to the
> attribute "trackID " in eDirectory as multivalue?
>
> like in eDirectory
> trackID=ABC
> trackID=IUS
>
>