Skip to main content
Solved

Processing Order

  • July 1, 2019
  • 2 replies
  • 73 views

deanhowell
Influencer
Forum|alt.badge.img+24

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?

 

Best answer by nielsgerrits

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2939 replies
  • Best Answer
  • July 1, 2019

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.


deanhowell
Influencer
Forum|alt.badge.img+24
  • Author
  • Influencer
  • 315 replies
  • July 1, 2019

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 :)