Unable to get Flat File values in Java Servicegetting null values

Flat File is having two records.
Each record has two fields.


The output ffValues (of convertToValues), is not a document list in itself, it is just a document. The ffValues document may contain a documentList (say Employee for your case)… you may need to map this documentList (Employee) to the input of your java service. I’d say, trace your flow service where you convert flat file to values and check how the ffValues is populated in the pipeline. Once you know the structure of ffValues at run-time, write your java service accordingly.

HTH, Rohit