Hi,
I am trying to create a control file in JSON format to accompany a data file within a workflow. Requirement is to generate the control file in the below format.
{
"files" : [ {
"name" : "EX_RATES_20190528124700.dat",
"path" : "/QUANTUM/EX_RATES",
"rowCount" : 110
} ]
}
I am creating the name, path & rowcount in a formula within the same workflow and then writing this to a output data tool in JSON format. This is what I have in the table that's going into the output data tool.

But, when the workflow is run, the control file output comes like below.
[
{
"files": "[ {",
"name": "EX_RATES_20190710145039.dat",
"path": "/QUANTUM/EX_RATES",
"rowCount": 110
}
]
Any help on where I am going wrong and how to get the control file output in the format required?
Thanks,
RajR