Hi Hariom,
looks like this gets more and more complicated now.
Assuming that the FlatFile schema and the FlatFile dictionary are configured correctly (first line is header line; all fields are marked as required, but can be empty; …) then convertFlatFileToValues will do all neccesary validations and return an error message indicating missing fields
Addtionallly the approach for just counting the delimiters will only work when it is guaranteed that the fieilds values are not allowed to contain the delimiter character. If delimiter chatracter is allowed in fields content (contemt is usually enclosed in double quotes then) the counter for the delimiters might be returning the expected value, but in reality you are missing fields in your structure.
Regards,
Holger
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services