Question

Hi! I have a large workspace where I need to update a table with a status message. This means that I need to update the tables status even if no features are routed to the feature writer.

  • 1 February 2023
  • 3 replies
  • 1 view

Fme server

desktop version: 2022.1

 

But if no features reach the writer then I get no summary output. In what way can I solve this dilemma? 

 

image_fwThe image I provided is not of the workspace itself, but it shows the problem.


3 replies

Userlevel 6
Badge +32

One way to do this is to use the NoFeaturesTester from the hub.

Thanks nielsgerrits, I will look at that one.

 

I think I solved my own problem now. There are probably many solutions but this seems to work.

 

If I use the creator from the beginning of the workspace and I merge it in the end then I can do a check to see if features are written or not.image_fw_s

Userlevel 3
Badge +16

The initiator port of a FeatureReader includes a matched_records attribute which is the count of how many features are read. Depending on the process, you can sometimes just test on this if anything matched.

Reply