ArnoldT
1
Hi,
Below list is returned from a restread:
Apparently its a list within a list within a list (3x the ‘[’)
So figured I first need to to a tupleextlookup on “natural_persons”.
However then I’m getting this error:
At type handler of value I cannot choose <list<list<tuple<string,mixed>>>
I have also added plugin list extensions but that seems to do nothing.
What do I need to do to acess the values in the last list?
@Wilko, @Wim, @Helena, do you know how to help here?
Helena
3
this results in a list of type Mixed
To access that you’ll have to iterate over the list with foreach.
Within that you can use the lookup again to find the values you need.
Are you expecting a list of lists of tuples? Or should it always be just one list and should the sending side make adjustments?
ArnoldT
4
After chatting with Helena I was able to get the correct values.
Typehandler for the lookup should be set to list instead of list<tuple<string,mixed>>
After that it is possible to iterate through the list with a foreach.
Test process looks like this: