16
Views
6
Comments
Solved
Duplicate is not a valid operation inside a StartIteration/EndIteration block.
Service Studio Version
10.0.611.0

Hello, I'm new on Outsystems. I have list inside list. I'm getting error when try to iterate list which inside other list. 


Solution

Are you getting error on Listappend?

it seems you are using listduplicate, or list append method inside loop and you are assigning to your new list within the first list iteration.

You should have a new variable of type boolean  and check  if appending item is available in list or not and set to false at the start of each new  iteration.

Are you getting error on Listappend?

if Yes, then:

you can not append variable on list which you are itterating.

before loop create a new list using list duplicate and append variables in that duplicate list and then use that.

Hell Sardor,


Kindly provide more info of your issue. If possible plz share OML or at least property and aggregate date for reported portion.


Thanks,

Sanjay

Thanks Sardor. Really happy that it helped you.