Issue on writing a file within a foreach loop
Content
Hi Experts,
I have created an integration that reads a BI Publisher report, my goal is to put the response of the report inside a foreach loop and using a stage file with an XSD schema to write the response that I will return in the integration. The response it currently returns is the following:
<?xml version="1.0" encoding="UTF-8" ?>
<EXPENSES>
<FECHA_INICIO>2020-09-01T00:00:00.000+00:00</FECHA_INICIO>
<FECHA_FIN>2020-09-15T00:00:00.000+00:00</FECHA_FIN>
<REPORTS>
<EXPENSE_REPORT_ID>300000009961223</EXPENSE_REPORT_ID>
<EXPENSE_REPORT_DATE>2020-08-27T00:00:00.000+00:00</EXPENSE_REPORT_DATE>
</REPORTS>
</EXPENSES>
<?xml version="1.0" encoding="UTF-8" ?>
<EXPENSES>
<FECHA_INICIO>2020-09-01T00:00:00.000+00:00</FECHA_INICIO>