I have two lists, one contains room types and the other has quantity (see Image 1). I am trying to take any item that has a quantity of greater than one and insert however many extra copies of that item into the list. Is there any easy method to achieving this?
Image 2 (blank) & Image 3 (annotated) show the closest I have gotten so far… I tried to extract the index values for any quantity over one then use the List.FilterByBoolMask (s) to isolate the associated items and generate sublists of their multiples. I feel like the List.ReplaceItemAtIndex node is somehow the key. Replacing the original list by pairing the sublists with their associated index value then flattening would do the trick but I cannot figure out how to make it work.