Skip to main content
Question

Send notification when 0 features are written

  • July 16, 2020
  • 1 reply
  • 16 views

asellars
Participant

Hi everyone and thank you in advance!

 

 

I currently have a job set up on the server where data is being written to an ArcGIS Portal service from multiple outside sources using Topics/Notifications/Subscriptions. I would like to find a way to set it up to send a notification when the job runs and 0 features are written. The job does not fail when 0 features are written so I would like to find a way to notify me (probably using another topic/notification setup) when nothing is written to the service.

 

Let me know what you think!

1 reply

warrendev
Enthusiast
Forum|alt.badge.img+23
  • Enthusiast
  • July 16, 2020
If you are using a featurewriter you could check in the summary output port to get the number of features written and perform further processing for notifications, etc. Not sure for your specific workflow, but maybe a NoFeaturesTester transformer could be useful as well. It will only have output when no features enter the transformer.

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