Hello
I am looking to write a simple execution report in a file with the name of the writer / table name and the number of records written. I don't want to use summaryReporter or FME_END_PYTHON.
How to do this simply?
Thanks in advance
Hello
I am looking to write a simple execution report in a file with the name of the writer / table name and the number of records written. I don't want to use summaryReporter or FME_END_PYTHON.
How to do this simply?
Thanks in advance
Instead of using a writer, try using the FeatureWriter transformer.
That transformer acts as the writer, but has output ports, one of which will get you the summary.
Hope this helps.
Instead of using a writer, try using the FeatureWriter transformer.
That transformer acts as the writer, but has output ports, one of which will get you the summary.
Hope this helps.
Thanks . you're right . I just read some posts on this transformer and I can retrieve the number of records but not the name of the table. I would like to find an fme or python object which contains all this information
Thanks . you're right . I just read some posts on this transformer and I can retrieve the number of records but not the name of the table. I would like to find an fme or python object which contains all this information
You should normally find the table name in the _feature_type{}.name list attribute.
Use a ListExploder on the _feature_type{} list to access all the information if you have multiple output feature types.