Data Extraction / appending to csv

I have a workflow currently which i drop data in it creates a PDF and adds a job number and sequence number to the PDF using variables.

Is it possible, once this has run to output the CVS i started with and append the jobnumber / seq number which is in the variables in a new column in the csv

Thanks

You can append text to the current workflow input file (job file) via script.

Sample JavaScript (JScript) to append Text to the end of the jobfile.

var content = Watch.GetVariable("myVariableName");
var fso = new ActiveXObject("Scripting.FileSystemObject");
var file = fso.OpenTextFile(Watch.GetJobFilename(), 8);
file.WriteLine(content);
file.Close();
2 Likes