How to access arraylist in java delegate

Hi Team,

How can we access arraylist in java delegate from execution.getvariable(“testlist”,myList);

is there any sample code something like this.

Regards,
Praveen

Hello Praveen,

Try doing the following. You must cast it to a List before putting it into a List type of variable.

List<String> theList = (List)execution.getVariable(“list”);

Regards,

Thanks @patozgg , i will try it out and let you know the status.

1 Like