Hi,

I am facing one issue as follows:

I have one requestor form which have 2-way picklist.
After selecting the multiple values, I am trying to retrieve them in
another activity in the form of an arraylist. Due to some requirement, I
am then converting this array list as an array.

To my extreme surprise, I am unable to retrieve the contents of array
as an whole.

Code snippet is as follows:

function abc(){
var v=new java.util.ArrayList();
v=flowdata.getObject('Start/request_form/Field');
var v2=new Array();
for(var i=0;i<v.size();i++){
v2[i]=v.get(i);
}
return v2.toString();
}
abc();

When I return like this
return v2[0];
or,
return v2[1];

I am able to get the proper values.

Please provide any insight on this issue. I need to pass this array to
some other workflows.

Regards,
Vishal


--
vishalmittal1981
------------------------------------------------------------------------
vishalmittal1981's Profile: http://forums.novell.com/member.php?userid=14256
View this thread: http://forums.novell.com/showthread.php?t=355274