Question
How to interate over an java.util.ArrayList returned by a function in an activity
Hi,
I have written a function that returns of List containing String values that I want to Loop through in an activity.
I tried to use the Call-Function activity method to return the List to a Text ValueList but that didn't work. Also, I couldn't find the appropriate function alias for an expression returning any sort of collection/List.
Any pointers?
Thanks.
Regards,
Suraj
***Updated by Moderator: Marissa to update categories***
***20/12/2016: Updated by moderator: Lochan to add enhancement request ID***
You might not be able to directly do that via any available method.
One way could be to use your own java logic and use the function first to get the list and then form a pagelist with the retrieved values.