Hi,
I have ION Script.
Input is an XML file.
Output is some four variables - values extracted from XML.

How do I send these fore variables to Workflow?
In DataFlow there is Input document and output document.

I created simple file template for output document with root element and four fields.

How do I map script output values to output document?
What are "document script parameter" and "header script parameter" for?

And why I am getting this error when I test script in DataFlow.

Any hints will be greatly appreciated.
Thanks
KK