Is it possible with FME cloud to watch an AGOL feature service? So that when the feature service gets modified it trigger's an FME script on FME cloud to run.
@siennaatsafe is monitoring a requirement for webhook support at the Esri feature service level, if you can share use-case details please send them on.
@siennaatsafe is monitoring a requirement for webhook support at the Esri feature service level, if you can share use-case details please send them on.
As far as I know there is not webhook support for esri feature services on AGOL. That's why I was hoping to have FME cloud "watch" a feature service for changes and then execute an FME script.
Use Case: A user collects new data in the field with ESRI's Collector app. After collecting and submitting new data (or modifying existing data) an automation is setup on FME cloud via a trigger event that "watches" that specific feature service and when new records are added or modified it triggers an action to run a workspace on FME cloud. In my case the workspace is an FME script that writes the new/modified AGOL feature service records (non-spatial data) back to an SQL database that is being fed into other systems within our organization.
I imagine in automations there being a "AGOL Feature Service modified" trigger event in the trigger drop down.
@siennaatsafe is monitoring a requirement for webhook support at the Esri feature service level, if you can share use-case details please send them on.
Hi @bruceharold,
I don't believe a webhook would be a requirement for us to create a directory watch. We would just need to have access to the AGOL feature service and be able to check for changes. However, what @oshkosh_gis would be an ideal use case for webhooks in Esri's Collector.
Hi @oshkosh_gis,
We currently don't have an AGOL directory watch. However, I see you made an idea for it, I'll pass it on to the FME Server Product Owner.
It looks like there may be a way to configure AGOL to send out notifications https://knowledge.safe.com/questions/94285/detecting-changes-of-the-feature-layer-in-agol.html. However, I'm unsure of how that would work.
If you are using Collector, I think the best we could do right now is a workspace with an update detector on a schedule. There is a tutorial here on change detection https://knowledge.safe.com/articles/31700/updating-databases-using-change-detection-to-set-f.html. Then, on FME Cloud you could run that workspace on a schedule every minute or so and write any changes to your database.
If you can use Survey123, it already has webhook support. Therefore, you can use the webhook as a trigger to trigger a workspace to run. https://www.youtube.com/watch?v=9X4b3YcQsaU&feature=emb_title
If you have any questions about this please let me know!
Kind regards,
Sienna
Hi @oshkosh_gis,
We currently don't have an AGOL directory watch. However, I see you made an idea for it, I'll pass it on to the FME Server Product Owner.
It looks like there may be a way to configure AGOL to send out notifications https://knowledge.safe.com/questions/94285/detecting-changes-of-the-feature-layer-in-agol.html. However, I'm unsure of how that would work.
If you are using Collector, I think the best we could do right now is a workspace with an update detector on a schedule. There is a tutorial here on change detection https://knowledge.safe.com/articles/31700/updating-databases-using-change-detection-to-set-f.html. Then, on FME Cloud you could run that workspace on a schedule every minute or so and write any changes to your database.
If you can use Survey123, it already has webhook support. Therefore, you can use the webhook as a trigger to trigger a workspace to run. https://www.youtube.com/watch?v=9X4b3YcQsaU&feature=emb_title
If you have any questions about this please let me know!
Kind regards,
Sienna
Thanks @siennaatsafe! I think for now I'll just run a script on a schedule as you mentioned.