Skip to main content
Question

How to valid a date time input data in FME

  • November 2, 2021
  • 3 replies
  • 166 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+50

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+55

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+39
  • Influencer
  • 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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings