cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to access the elements stored in "List" data type in MII v 12.2

Former Member
0 Kudos

Hi,

I want to access the all elements stored in "List" data type but one by one (one at a time)

Please let me know how can i do that??

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Use a for next loop

In the link editor set the 'To' value to:

size(Local.List) - 1

List will be your list you are looping. Do a minus 1 because the list is 0 indexed.

You can then access the current value by:

Local.List{#foreachloop.CurrentItem#}

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jasper,

Its working as required.

Thanks

Regards
Shashank

Also, found a way to  convert all the items in List into XML format making it easily assessable.

jcgood25
Active Contributor
0 Kudos