Is it possible by any way to export an XML field value to a .csv through a workflow?
for example if I wish to export emails subject lines to a file.
While working, your code is a bit risky, in case of Adobe Campaign Product team decides to change the XML memo field.
You should rather use this simple notation in your delivery:
<%= message.delivery.mailParameters.subject %>