Skip to main content
Question

simple summary report


Forum|alt.badge.img

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

 

3 replies

erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • April 27, 2020

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.


Forum|alt.badge.img
  • Author
  • April 27, 2020
erik_jan wrote:

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


david_r
Celebrity
  • April 28, 2020
jerome wrote:

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.


Reply


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