I am parsing a file using convertToValues. FOr one of the fields, I am using the FormatService to format the date.

But, some times, the input value is not in the required format and the convertToValues is not throwing exceptions. 

The format date service expects date of format dd-MMM-yy, and returns yyyy-MM-dd hh:mm:ss.SSS. When i pass in the wrong format, its not throwing any exception nor is it coming out of the service.


You have to put a Try/Catch sequence in the FormatService logic and exit with SignalFailure,so that if wrong date format then it will be catched and raise an exception in the flow.