Select to view content in your preferred language

Webhook oddities and general questions

186
0
a week ago
RogerAsbury
Frequent Contributor

I have added a webhook to a view of one of our feature layers so that I can get notified when changes are made to any of the features (trigger featureEdit). This webhook appears to work... oddly... for lack of a better phrase.

Here is the setup:
hookinfo.png

 

 

This seems to suggest an interval of 30 seconds after changes are made, but in reality, I've seen times from four to ten minutes, which seems crazy for a webhook. I'm guessing this allows for more changes per response, which is fine, but still rather slow.

 

Second, the resultant package seems to contain old edits that were already sent. I'm attaching an example. In the example the only new changes since the last time the webhook triggered were changes to the feature with OBJECTID 1. In this case the EVENT_NAME and POLY_STATUS fields were updated. Which leads to the questions:

  1. Why are older edits still showing here? Is there a way to prevent this?
  2. Why does it not tell you what was edited? Like a before edit/after edit? There's no indication here what changed.
  3. Is there a way to NOT show geometry as it's not needed here and just makes for a much larger to process payload?
     
--
Roger Asbury
Analyst/Programmer - Fairbanks North Star Borough
0 Kudos
0 Replies