I receive an EDIFACT which i convert to Values.
Sometimes more messages excist in the file, but sometimes one.
If i convert the EDIFACT to values i get an UNH list, then i execute an loop over that list.
The problem is that when only one message exist i dont get an list but an record. Then the flow will pass the loop and the result is zero.
I want to make the output always a list, no matter if there is only one or more messages. Or is there a possibility to make the record a recordList
Any help would be really appriciated.