Murali,
I had the same requirement. I created a separate flow which I named convertErrorRecordToString. It takes the Errors records from the pub.record:validation flow and converts to a string.
The input is Errors Record - output is stringOut.
With the record as input, create a loop. Loop though each record. During the inner loop, you will need to create a series of maps that concatenates each value.
What I typically do is write a value, then I add a carriage return. I have a carriage return as my line delimiter. When the email is written, it comes out perfect.
Loop:
MAPs:
Map - temp = item 1 + item 2
map - delimiter
Map - temp = temp + next item
map - delimiter
Map temp = temp + next item
map - delimiter
The map of the delimiter can be cut and paste. I use a temp variable in the inner loop.
Hope this helps.
#webMethods#Universal-Messaging-Broker#broker#Integration-Server-and-ESB