Skip to main content
Solved

DateTimeConverter - FME Server


surbhi
Contributor
Forum|alt.badge.img+1

I am using the DateTimeConverter in a workbench to convert date and time from an Oracle database to an ArcGIS Online feature service. The autodetect feature works in the workbench and the translation is successful. However, when I upload the workbench to the server, the DateTimeConverter is unable to autodetect the date/time value from the input and the translation fails. Has anyone faced and resolved this situation?

Best answer by takashi

Hi @surbhi, I think datetime values read from an Oracle database table can be treated fine with the auto-detect mode usually, but exceptionally, if the datetime field stored <null>, the DateTimeConverter would reject it and cause translation failure. Firstly check if there could be null datetime.

View original
Did this help you find an answer to your question?

3 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • January 9, 2018

There are many situations where autodetect fails.

Just enter the input format is advised.


takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • Best Answer
  • January 10, 2018

Hi @surbhi, I think datetime values read from an Oracle database table can be treated fine with the auto-detect mode usually, but exceptionally, if the datetime field stored <null>, the DateTimeConverter would reject it and cause translation failure. Firstly check if there could be null datetime.


surbhi
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • January 10, 2018
takashi wrote:

Hi @surbhi, I think datetime values read from an Oracle database table can be treated fine with the auto-detect mode usually, but exceptionally, if the datetime field stored <null>, the DateTimeConverter would reject it and cause translation failure. Firstly check if there could be null datetime.

Thanks, that worked!

 

 


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