- We have flatfile schema created out of flat file Dictionary. One of the fields in the record is mandatory.
- I use pub.flatFile:convertToString service to convert the document to flat file (CSV) string
- In the pipeline I have set the pub.flatFile:convertToString/signalerror to true to signal errors while generating the flat file
The problem is when pub.flatFile:convertToString doesn’t throw any error even though the mandatory field is not present. pub.flatFile:convertToString converts the flat file string with empty space for the mandatory fields
Field1- Non Mandatory
Field3 –Non Mandatory.
Converts to below flat file with out throwing error.
can you please help me in this regard.