How to write empty csv file from stage activity
Summary:
We have a scenario where we are splitting source file into a valid and error records file in csv format based on validations. However, if either of these files get into a scenario where nothing is to be written for example if the source file clears all validations then there wouldn't be an error file. Please see below error message returned by integration,
—
Error occurred while processing activity stageWritePartsf6. Error : Translation Failure.
Translation to native failed. Element not completed: 'CeBankStmtHdrRecSetName'.
The data does not conform to the NXSD schema. Please correct the problem.
—
From the mapper screenshot above, if the test condition fails for all the records then none of the records are to be written to valid file, and that's where we are getting this error.