Two ways I can think of:
Of the two options, I would pick the first. Seems simpler. BTW, if you haven’t done this before, when you are populating a text attribute, embedded new line characters will carry over into the generated text. So if I set an attribute in this way:
$Entity/StringAttr + ‘ Exception ID: ‘ + $ExceptionID + ‘ Order Number: ‘ + $OrderNumber
while in a loop, I will get a list that looks like this:
Exception ID: 1 Order Number: 2
Exception ID: 3 Order Number: 4
Exception ID: 5 Order Number: 6
If you do it this way, check if the attribute value is empty before adding the first value.
Hope that helps,
Passing a list of values is not possible, i think. You can build the text in the microflow that sends it and pass the text in a string attribute.