loop and distinct variables


Let me illustrate my problem with a simple example. I have several input variables which I have to (well not only but) put into a StringList. For this I’ve tried this:
REPEAT (3times, repeat on SUCCESS)
pub.string.appendToStringList (toList(stringList), from item(%"/^in[1-3]{1}/"%))
where my params would be: in1, in2 and in3 simple strings. Well this does not work. Would this be possible to do or I’d have to create a JAVA service for this simple problem?
Thanks in advance.


A Java service is way of overhead here. Just map all inputs into the string list simultaneously in one step and use mapping index on the map line.