Howdy,
Are there known errors/solutions related to the FileNamePartExtractor transformer's handling of 'DateTimeFormat' functions in a file name? I am experiencing this issue in both FME 2018.1.1.2 & FME 2019.0
I have a workspace that reads in information from FME Server on scheduled jobs (http://fme:8080/fmerest/v3/schedules?limit=1000&offset=0) and writes details about each scheduled Job and its destination tables to an Excel workbook.
I believe this workspace was working fine a few months back, however now I am encountering an error with a FileNamePartExtractor transformer's "Full File Name Attribute" parameter. The error is triggered where a Job has a parameter for the destination file name that includes @DateTimeFormat or @DateTimeNow . For example processing a destination file name like this triggers an error:
\RC Metrics_DailyUpdate_@DateTimeFormat(@DateTimeNow(),%Y%m%d).xlsx
The error message received is below:
2019-06-18 12:11:24| 0.7| 0.1|ERROR |FilenamePartExtractor_2 (TeeFactory): FilenamePartExtractor_2: This FME edition does not recognize the `DateTimeFormat' function. Please ensure that the current platform supports this function, the function name is spelled correctly, and that you have installed all required plug-ins
2019-06-18 12:11:24| 0.7| 0.0|ERROR |FilenamePartExtractor_2: This FME edition does not recognize the `DateTimeFormat' function. Please ensure that the current platform supports this function, the function name is spelled correctly, and that you have installed all required plug-ins
Attached is a .fmwt with an example of this error:
Other's might find it useful to have a workspace that retrieves Scheduled Job info from FME Server so here's the template of what I have in development:
Thank you!
Best answer by markatsafe
View original