Hello,
Is there a way to execute a model in AGOL. I need the data to move from a feature class to a table everytime someone adds a new record to the feature class.
Hi Marla,
Are both the feature class and table hosted in ArcGIS Online or is the feature class local and the table hosted in AGOL?
If the update needs to be instantaneous I would recommend looking into webhooks, which can be configured to run every time a feature is submitted. You would need access to a tool like Microsoft Power Automate or Integromat to do so though. Documentation on webhooks here: https://developers.arcgis.com/rest/services-reference/online/web-hooks-feature-service-.htm
Alternatively if it could be on an hourly or daily update, I would recommend using ArcGIS Notebooks in AGOL to accomplish this, as you can set them to run on a schedule. This page https://developers.arcgis.com/python/guide/editing-features/ has examples on how to query and add data to feature services using the API for Python, it can take a little bit of getting used to but it works pretty effectively.
Hope that helps!
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.