Hi all,
In LC Workbench you can define a variable to be a list of lists. However what I have realized is that it does not seems to work as I expected.
Scenario:
I need a process that returns a list containing a number of elements that themselves are lists. I want to use this in a form to represent some type of structure in this form.
I have created a process that with a list variable of strings (ChildList) and one variable which is a list of list (ChildGroup).
I create and fill the ChildList and this works fine, however when I try to add my ChildList tol the ChildGroup I get a coercion exception like this:
Cannot coerce object: Lisa Exampleson, 20000202-1231 of type: java.lang.String to type: interface java.util.List
What I try to do in the set value step is the following:
/process_data/ChildGroups[number(/process_data/@count)] = /process_data/ChildList
So what I conclude from this is that my right side of this set value somehow is wrong.
How can I add a variable of type list into another variable of type list?
Thanks in advance
Sincerely
Kim Christensen
Dafolo A/S
Denmark