Skip to main content
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.


essb
Contributor
  • Contributor

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

nielsgerrits
VIP
Forum|alt.badge.img+54

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


essb
Contributor
  • Author
  • Contributor
  • February 1, 2023

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


ctredinnick
Supporter
Forum|alt.badge.img+19
  • Supporter
  • February 1, 2023

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


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