Skip to main content
Question

How to valid a date time input data in FME

  • November 2, 2021
  • 3 replies
  • 183 views

Forum|alt.badge.img

Hello,

So I have a data, which is called "Amendment Date". The format is as follow

DD/MM/YYYY HH:MM:SS.

I would like to make a checker to check if the input data are correct. I tried the attached steps and it seem ONLY works on correct order. If the data is wrong, it said ERRORS and cannot run the transformer.

 

Would someone please guide me how to do valid the format.

 

Thank you.

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • November 2, 2021

If you inspect the rejected data (using the magnifying glass icons) you should see an attribute called fme_rejection_code which has an indication as to why it's rejected.


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • November 2, 2021

If you switch Rejected Feature Handling (Navigator window, Workspace Parameters, Translation) from Terminate Translation to Continue Translation the process won't stop when a feature gets Rejected by the DateTimeConverter.


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • November 2, 2021

If you attach a logger to your rejected port then the workspace should continue to run, features with incorrect date times will be logged via the rejected port