I am using wm.b2b.edi:convertToString to convert a record structure to a csv file.
I write a flow service to connect to DB and retrieve the data, convert the data to apropiate record structure and call convertToString passing a simple template.
I test my template filling the recordlist manually and worked fine. Real world data instead contains null fields so I get the errorArray full of 'PHONE_COUNTRY_CODE ’ field not found in segment ‘CONTACTS’ [EDICOR.000020.000058].
I want my service to treat null/empty values by writing two consecutive separators in the csv file… How can I do this and stil using edi module?