Page 1 of 1

combine metadata to 1 file

Posted: Tue Jul 17, 2012 11:05 pm
by Flow666
I use metadata from a flow and then convert it to a simple tekst line (file) with an XSLT. I use simple text like "account number" en "page count".



Is it possible to combine multiple of this lines together?



I tried to do this by combining lines and then use "send an e-mail" but did'nt succeed.





combine metadata to 1 file

Posted: Wed Jul 18, 2012 3:01 pm
by dkelly
I've used Javascript to create complex email messages before. It pulled from a text file, database, job metadata and stats to create the email body.



If you want to combine two files you could either call a program like 'cat' (MacOSX) or 'type' (Windows) which echo the contents of 1 or more files to stdout, or you could write a simple Javascript expression to read both files and generate a string variable.