Skip to main content

Hello all,

I am trying to create a HTML Report that has a table plus also a map image.

The problem I am finding is that the Report is being created before the image is finished and then ends up with the image of the previous job.

I have tried connecting the feature writer into the report generator, which works but I end up with an extra row in the table with a "none" record.

Is there a way to force the image to be created before the report?

 

The FeatureHolder transformer is designed for this.

Stores incoming features until they have all arrived, and then releases them in their original order.

Use this transformer whenever you want to detain certain features until all input features have arrived. This ensures that no additional processing is performed until all features are released.

Connect the FeatureWriter Summary port and the Sorter 5 output port to a FeatureHolder. Then a tester to remove the "FeatureWriter Summary" feature. Then connect the passed port to the HtmlReportGenerator.


The FeatureHolder transformer is designed for this.

Stores incoming features until they have all arrived, and then releases them in their original order.

Use this transformer whenever you want to detain certain features until all input features have arrived. This ensures that no additional processing is performed until all features are released.

Connect the FeatureWriter Summary port and the Sorter 5 output port to a FeatureHolder. Then a tester to remove the "FeatureWriter Summary" feature. Then connect the passed port to the HtmlReportGenerator.

Thanks again @nielsgerrits, that did the trick :)


Reply